Skip to content

Commit

Permalink
test in browser too
Browse files Browse the repository at this point in the history
  • Loading branch information
finn-tbd committed Jul 31, 2023
1 parent c85bd78 commit 7e0f7af
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- test-against-local-services
pull_request:
branches:
- main
Expand Down Expand Up @@ -91,5 +92,13 @@ jobs:
- name: Build all workspace packages
run: npm run build

- name: start services tests need (dwn node, ssi service)
run: cd testfiles && docker-compose up -d

- name: wait for services to be ready
run: until curl -sf http://localhost:3000/health; do sleep .1; done && until curl -sf http://localhost:8080/health; do echo -n .; sleep .1; done

- name: Run tests for all packages
run: npm run test:browser --ws
env:
DWN_URL: http://localhost:3000

0 comments on commit 7e0f7af

Please sign in to comment.