From 1d315a3365719791971bb16c7306b55c6f4189ee Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Mon, 9 Sep 2024 02:13:46 +0100 Subject: [PATCH] Fix integration test health check --- .github/workflows/integration-tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 6c2735646..f34ba6a4c 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -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