Skip to content

Commit

Permalink
Add a check in CI for missing migrations (#2248)
Browse files Browse the repository at this point in the history
  • Loading branch information
di committed Feb 15, 2023
1 parent b12479f commit 240865e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
run: |
pip install -U pip setuptools wheel
pip install -r dev-requirements.txt
- name: Check for ungenerated database migrations
run: |
python manage.py makemigrations --check --dry-run
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/pythonorg
- name: Run Tests
run: |
python -Wd -m coverage run manage.py test -v2
Expand Down

0 comments on commit 240865e

Please sign in to comment.