Skip to content

Commit

Permalink
Setup docker
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Dec 19, 2023
1 parent 7a5ad29 commit 4ed5fe8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
with:
repository: auth0-samples/api-quickstarts-tests
path: tests

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Setup sample .env
working-directory: 01-Authorization-RS256
Expand All @@ -53,11 +56,9 @@ jobs:
run: sh exec.sh &

- name: Wait for sample to start
working-directory: 01-Authorization-RS256
run: |
until $(curl --silent --head --output /dev/null --fail http://localhost:3010/api/public); do
sleep 5
done
sleep 10
docker run --network host --rm appropriate/curl --retry 8 --retry-connrefused -v localhost:3010
- name: Setup tests .env
working-directory: tests
Expand Down

0 comments on commit 4ed5fe8

Please sign in to comment.