Skip to content

Commit

Permalink
install docker on osx runner before trying to use it
Browse files Browse the repository at this point in the history
  • Loading branch information
finn-tbd committed Aug 3, 2023
1 parent a9034ba commit a6820aa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 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-browser
pull_request:
branches:
- main
Expand Down Expand Up @@ -91,7 +92,17 @@ jobs:
- name: Build all workspace packages
run: npm run build

- name: install docker
run: brew install docker && colima start

- name: start local dwn server
run: cd testfiles && docker-compose up -d

- name: wait for services to be ready
run: until curl -sf http://localhost:3000/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 a6820aa

Please sign in to comment.