Skip to content

Commit

Permalink
[CI] Add check for missing migrations
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Elrod <[email protected]>
  • Loading branch information
relrod committed Jun 6, 2024
1 parent e58b4fb commit 0597c54
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
fail-fast: false
matrix:
tests:
- env: check
python-version: "3.11"
sonar: false
- env: py39
python-version: "3.9"
sonar: false
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,11 @@ legacy_tox_ini = """
[testenv:check]
deps =
-r{toxinidir}/requirements/requirements_all.txt
commands = python3 manage.py check
-r{toxinidir}/requirements/requirements_all.txt
-r{toxinidir}/requirements/requirements_dev.txt
commands =
python3 manage.py check
python3 manage.py makemigrations --check
[testenv:flake8]
deps =
Expand Down

0 comments on commit 0597c54

Please sign in to comment.