Skip to content

Commit

Permalink
github: Replace deprecated docker-compose calls
Browse files Browse the repository at this point in the history
The command is not available anymore on the build hosts.
  • Loading branch information
tobiasbrunner committed Aug 8, 2024
1 parent 6bc58a8 commit e7ba40f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ jobs:
echo "PATH=$HOME/.local/bin:$PATH" >> $GITHUB_ENV
- name: Build Docker images and start containers
run: |
docker-compose build
docker-compose up -d
docker compose build
docker compose up -d
sleep 5
- name: Run unit tests, collect coverage
run: docker-compose exec -T roadwarrior /bin/sh -c "cd /strongMan; ./runtests.py"
run: docker compose exec -T roadwarrior /bin/sh -c "cd /strongMan; ./runtests.py"
- name: Run integration tests
run: docker-compose exec -T roadwarrior /bin/sh -c "cd /strongMan; python manage.py test strongMan.tests.integration_tests --settings=strongMan.settings.local;"
run: docker compose exec -T roadwarrior /bin/sh -c "cd /strongMan; python manage.py test strongMan.tests.integration_tests --settings=strongMan.settings.local;"
- name: Submit coverage
if: ${{ success() }}
run: |
docker-compose exec -T roadwarrior cat /strongMan/.coverage > .coverage
docker compose exec -T roadwarrior cat /strongMan/.coverage > .coverage
coveralls --service=github

0 comments on commit e7ba40f

Please sign in to comment.