Merge branch 'main' into dependabot/pip/django-5.1.1

This commit is contained in:
Reckless_Satoshi
2024-09-09 01:32:00 +00:00
committed by GitHub

View File

@ -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