Skip to content

Commit

Permalink
Check missing migrations (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianmanger authored Aug 23, 2024
1 parent eea23a8 commit 0014e57
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[tox]
isolated_build = true
envlist =
py{38,39,310,311,312}-dj{42}-{unittest,pytest}
py{310,311,312}-dj{50}-{unittest,pytest}
py{310,311,312}-dj{main}-{unittest,pytest}
py{38,39,310,311,312}-dj{42}-{unittest,pytest,checkmigrations}
py{310,311,312}-dj{50}-{unittest,pytest,checkmigrations}
py{310,311,312}-dj{main}-{unittest,pytest,checkmigrations}
skip_missing_interpreters = True

[testenv]
Expand All @@ -25,6 +25,7 @@ commands =
unittest: coverage report
unittest: coverage xml
pytest: pytest --cov=. --ignore=.tox --disable-pytest-warnings --cov-report=xml --cov-append {toxinidir}
checkmigrations: django-admin makemigrations --check --dry-run
setenv =
PYTHONPATH = {toxinidir}
PYTHONDONTWRITEBYTECODE = 1
Expand Down

0 comments on commit 0014e57

Please sign in to comment.