Skip to content

Commit

Permalink
Move sig-verifier-js tests out of e2e
Browse files Browse the repository at this point in the history
This removes a lengthy step from the e2e tests shaving off ~2 minutes per
e2e matrix config.
  • Loading branch information
frederikrothenberger committed Aug 26, 2024
1 parent 71f572e commit 047b6ac
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/canister-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -475,11 +475,6 @@ jobs:
until [ -f ~/npm-ci-status ]; do sleep 1; done
exit $(cat ~/npm-ci-status)
- name: Build sig-verifier
run: npm run --workspace ./src/sig-verifier-js build
- name: Run sig-verifier tests
run: npm run --workspace ./src/sig-verifier-js test

- name: Run dev server
id: dev-server-start
run: |
Expand Down Expand Up @@ -964,3 +959,14 @@ jobs:
run: |
curl -sSL https://github.com/dfinity/internet-identity/releases/latest/download/internet_identity.did -o internet_identity_previous.did
didc check src/internet_identity/internet_identity.did internet_identity_previous.did
sig-verifier-js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- run: npm ci
- name: Build sig-verifier
run: npm run --workspace ./src/sig-verifier-js build
- name: Run sig-verifier tests
run: npm run --workspace ./src/sig-verifier-js test

0 comments on commit 047b6ac

Please sign in to comment.