Skip to content

Commit

Permalink
Change to docker compose (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamlogand authored Oct 9, 2024
1 parent 76d8dcc commit 5fc1361
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_and_test_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Start services
run: docker-compose -f backend/docker-compose.test.yml up -d
run: docker compose -f backend/docker-compose.test.yml up -d

- name: Wait for services to start
run: sleep 10s

- name: Check types
run: docker-compose -f backend/docker-compose.test.yml run --rm web mypy .
run: docker compose -f backend/docker-compose.test.yml run --rm web mypy .

- name: Run Django tests
run: docker-compose -f backend/docker-compose.test.yml run --rm web python manage.py test
run: docker compose -f backend/docker-compose.test.yml run --rm web python manage.py test

- name: Stop services
run: docker-compose -f backend/docker-compose.test.yml down
run: docker compose -f backend/docker-compose.test.yml down

0 comments on commit 5fc1361

Please sign in to comment.