Skip to content

Commit

Permalink
ci: also migrate auth tables during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Jan 29, 2025
1 parent 64b881c commit 336703d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
- name: Run app in docker
run: docker compose -f deploy/docker-compose.test.yaml up -d --wait

- name: Migrate auth
run: |
docker compose -f deploy/docker-compose.test.yaml exec -T adminpanel python manage.py makemigrations
docker compose -f deploy/docker-compose.test.yaml exec -T adminpanel python manage.py migrate auth
- name: Run tests
run: docker compose -f deploy/docker-compose.test.yaml exec -T adminpanel pytest

Expand Down

0 comments on commit 336703d

Please sign in to comment.