Skip to content

Commit

Permalink
run SSI integration tests separately
Browse files Browse the repository at this point in the history
  • Loading branch information
finn-tbd committed Jul 26, 2023
1 parent fab2d48 commit bcbc229
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,21 @@ jobs:
- name: Run linter for all packages
run: npm run lint --ws

- name: start local SSI service
run: git clone https://github.com/TBD54566975/ssi-service && cd ssi-service/build && docker-compose up --build -d && until curl -f http://localhost:8080/health; do sleep 1; done

- name: Run tests for all packages
run: npm run test:node --ws
env:
SSI_BASE_URL: http://localhost:8080
run: npm run test:node --ws -- -i -f ssi --color

- name: Upload test coverage to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: start local SSI service
run: git clone https://github.com/TBD54566975/ssi-service && cd ssi-service/build && docker-compose up --build -d && until curl -f http://localhost:8080/health; do sleep 1; done

- name: Run web5 SSI integration tests
run: cd packages/web5 && npm run test:node --ws -- -f ssi --color
env:
SSI_BASE_URL: http://localhost:8080

test-with-browsers:
# Run browser tests using macOS so that WebKit tests don't fail under a Linux environment
Expand Down

0 comments on commit bcbc229

Please sign in to comment.