mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21: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)
|
- name: Wait for coordinator (django server)
|
||||||
run: |
|
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..."
|
echo "Waiting for coordinator to be healthy..."
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: 'Run tests with coverage'
|
- name: 'Run tests with coverage'
|
||||||
run: |
|
run: |
|
||||||
docker exec coordinator coverage run manage.py test
|
docker exec test-coordinator coverage run manage.py test
|
||||||
docker exec coordinator coverage report
|
docker exec test-coordinator coverage report
|
||||||
docker exec coordinator coverage html
|
docker exec test-coordinator coverage html
|
||||||
env:
|
env:
|
||||||
LNVENDOR: ${{ matrix.ln-vendor }}
|
LNVENDOR: ${{ matrix.ln-vendor }}
|
||||||
DEVELOPMENT: True
|
DEVELOPMENT: True
|
||||||
|
Loading…
Reference in New Issue
Block a user