Skip to content

Commit

Permalink
Fix integration test health check
Browse files Browse the repository at this point in the history
  • Loading branch information
Reckless-Satoshi committed Sep 9, 2024
1 parent f66e88d commit 1d315a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ jobs:

- name: Wait for coordinator (django server)
run: |
while [ "$(docker inspect --format "{{.State.Health.Status}}" coordinator)" != "healthy" ]; do
while [ "$(docker inspect --format "{{.State.Health.Status}}" test-coordinator)" != "healthy" ]; do
echo "Waiting for coordinator to be healthy..."
sleep 5
done
- name: 'Run tests with coverage'
run: |
docker exec coordinator coverage run manage.py test
docker exec coordinator coverage report
docker exec coordinator coverage html
docker exec test-coordinator coverage run manage.py test
docker exec test-coordinator coverage report
docker exec test-coordinator coverage html
env:
LNVENDOR: ${{ matrix.ln-vendor }}
DEVELOPMENT: True
Expand Down

0 comments on commit 1d315a3

Please sign in to comment.