8000 Add migration command to CI to check if it's running them · python/pythondotorg@17f7bed · GitHub
[go: up one dir, main page]

Skip to content

Commit 17f7bed

Browse files
committed
Add migration command to CI to check if it's running them
1 parent c862800 commit 17f7bed

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
@@ -35,6 +35,11 @@ jobs:
3535
run: |
3636
pip install -U pip setuptools wheel
3737
pip install -r dev-requirements.txt
38+
- name: Ensure migrations are correct
39+
run: |
40+
python manage.py migrate
41+
env:
42+
DATABASE_URL: postgres://postgres:postgres@localhost:5432/pythonorg
3843
- name: Run Tests
3944
run: |
4045
python -Wd -m coverage run manage.py test -v2

0 commit comments

Comments
 (0)
0