We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83eeef9 commit b3954b2Copy full SHA for b3954b2
1 file changed
.github/workflows/test.yml
@@ -38,15 +38,15 @@ jobs:
38
39
docker compose logs db
40
41
- timeout 60 bash -c 'until docker exec db pg_isready; do sleep 1; done'
+ timeout 60 bash -c 'until docker compose exec db pg_isready; do sleep 1; done'
42
43
timeout 60 bash -c 'until curl -s http://localhost:8000/health || curl -s http://localhost:8000; do sleep 1; done'
44
45
- name: Run API tests
46
run: poetry run pytest tests/test_api.py
47
48
- name: Run database tests
49
- run: docker exec hackathon-starter-web-1 poetry run pytest tests/test_database.py
+ run: docker compose exec hackathon-starter-web-1 poetry run pytest tests/test_database.py
50
51
- name: Stop and remove container
52
run: docker compose down
0 commit comments