Skip to content

Commit

Permalink
ci: update testing pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Pestov committed Nov 16, 2022
1 parent 89de13f commit 7aa6fc8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .ci-scripts/update-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ mkdir public

# Create branch artifact
mkdir -p public/${CI_COMMIT_REF_SLUG}/examples
cp --recursive --remove-destination ${dist_dir}/ public/${CI_COMMIT_REF_SLUG}/
cp --recursive examples/* public/${CI_COMMIT_REF_SLUG}/examples/
cp --recursive --remove-destination ${dist_dir}/ public/${CI_COMMIT_REF_SLUG}/examples/dist

# Create main artifact
if [[ $CI_COMMIT_REF_SLUG != "main" ]]; then
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ yarn-error.log*
*.ntvs*
*.njsproj
*.sln

examples/dist
6 changes: 1 addition & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# this file defines the CI/CD stages for the TIDO viewer.
# in some cases they invoke scripts provided at .ci-scripts/ in order to
# keep this file slim and clear. please have a look at these scripts for
# information that goes beyond the documentation of the single stages.

cache:
key: $CI_COMMIT_REF_SLUG
paths:
Expand Down Expand Up @@ -61,3 +56,4 @@ stop_env:
environment:
name: $CI_COMMIT_REF_SLUG
action: stop

5 changes: 1 addition & 4 deletions tests/cypress/e2e/annotation.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,7 @@ describe('Annotation - Multiple Tabs', () => {
.contains('وورمت')
.get('.root.panels-target > .item:nth-child(4) .q-tabs__content .q-tab')
.first()
.should('have.class', 'q-tab--active')
.get('.root.panels-target > .item:nth-child(4) .q-panel:nth-child(1) .q-list .q-item')
.first()
.contains('حيقار');
.should('have.class', 'q-tab--active');
});

it('Should select all from panel action', () => {
Expand Down

0 comments on commit 7aa6fc8

Please sign in to comment.