mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 12:11:35 +00:00
Fix integration test health check
This commit is contained in:
parent
f66e88da19
commit
1d315a3365
8
.github/workflows/integration-tests.yml
vendored
8
.github/workflows/integration-tests.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user