Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to docker compose #523

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading