We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a4a3269 + b201555 commit 680061dCopy full SHA for 680061d
1 file changed
.github/workflows/pythonapp.yml
@@ -42,6 +42,16 @@ jobs:
42
docker compose -f docker-compose.prod.yml exec web python3 manage.py migrate --noinput
43
docker compose -f docker-compose.prod.yml exec web python3 manage.py createsuperuser --noinput
44
docker compose -f docker-compose.prod.yml exec web python3 manage.py collectstatic --no-input --clear
45
+ - name: Wait for EXACT backend to be ready
46
+ run: |
47
+ for i in {1..60}; do
48
+ if curl -s http://localhost:1337/api/v1/teams/; then
49
+ echo "EXACT backend is up!"
50
+ break
51
+ fi
52
+ echo "Waiting for EXACT backend..."
53
+ sleep 5
54
+ done
55
- name: Test with pytest
56
run: |
57
pip install pytest
0 commit comments