diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca93131b3..7027387f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index ebec43e3a..883afa115 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -104,14 +104,17 @@ legacy_tox_ini = """ [testenv] deps = -r{toxinidir}/requirements/requirements_all.txt - -r{toxinidir}/requirements/requirements_dev.txt + -r{toxiniditr}/requirements/requirements_dev.txt allowlist_externals = sh commands = sh -c 'make postgres && pytest -n auto --cov=. --cov-report=xml:coverage.xml --cov-report=html --cov-report=json --cov-branch {env:ANSIBLE_BASE_PYTEST_ARGS} {env:ANSIBLE_BASE_TEST_DIRS:test_app/tests} {posargs}' [testenv:check] deps = - -r{toxinidir}/requirements/requirements_all.txt - commands = python3 manage.py check + -r{toxinidir}/requirements/requirements_all.txt + -r{toxiniditr}/requirements/requirements_dev.txt + commands = + python3 manage.py check + python3 manage.py makemigrations --check [testenv:flake8] deps =