Skip to content

Commit

Permalink
Use Docker Compse version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner authored and renovate[bot] committed Aug 6, 2024
1 parent 695ab59 commit 1c0eb3f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,20 @@ jobs:
- name: Test
run: |
docker-compose up -d
docker compose up -d
# Wait for DB to be up
while ! docker-compose exec -T test psql -h db -p 5432 -U postgres -v ON_ERROR_STOP=1 -c "SELECT 1" -d tests
while ! docker compose exec -T test psql -h db -p 5432 -U postgres -v ON_ERROR_STOP=1 -c "SELECT 1" -d tests
do
echo "Waiting for DB to be UP"
sleep 1
done
docker-compose exec -T test pytest
docker compose exec -T test pytest
- run: docker-compose logs
- run: docker compose logs
if: always()
- run: docker-compose down
- run: docker compose down

- name: Publish
run: c2cciutils-publish
Expand Down

0 comments on commit 1c0eb3f

Please sign in to comment.