Skip to content

Commit c7cf682

Browse files
committed
Configure Github Actions to ensure not have migrations to be created
1 parent 8712df0 commit c7cf682

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ jobs:
2929
run: |
3030
pip install -U pip setuptools wheel
3131
pip install -r dev-requirements.txt
32+
- name: Check for missing migrations
33+
run: |
34+
python manage.py makemigrations --dry-run --check
35+
env:
36+
DATABASE_URL: postgres://postgres:@127.0.0.1:5432/python.org
3237
- name: Run Tests
3338
run: |
3439
python -Wd -m coverage run manage.py test -v2

0 commit comments

Comments
 (0)