Skip to content

Commit

Permalink
migrations check
Browse files Browse the repository at this point in the history
  • Loading branch information
Buhle79 committed Aug 7, 2024
1 parent 299f3fd commit c5289a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
flake8
- name: Test
run: |
DJANGO_SETTINGS_MODULE=flow_results.testsettings python manage.py makemigrations --check | grep 'No changes detected' || (echo 'There are changes which require migrations.' && exit 1)
python manage.py makemigrations --check
python manage.py migrate
coverage run manage.py test
coverage report

0 comments on commit c5289a9

Please sign in to comment.