Skip to content

Commit

Permalink
updats tox
Browse files Browse the repository at this point in the history
saxix committed Sep 28, 2024

Verified

This commit was signed with the committer’s verified signature.
rgomezcasas Rafa Gómez
1 parent 38af147 commit 33e997d
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ dev = [
"mock",
"pre-commit",
"psycopg2-binary",
"pytest",
"pytest>=8.3.3",
"pytest-cov",
"pytest-django",
"pytest-echo",
9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tox]
envlist = d{42,51}-py{311,312}-{pg,sqlite,mysql},docs,lint,package

skip_missing_interpreters = true

[pytest]
pythonpath=./tests/demoapp/ src
django_find_project = false
DJANGO_SETTINGS_MODULE=demo.settings
norecursedirs = .tox docs ./demoapp/
python_files=tests/test_*.py
allowlist_externals=pytest
allowlist_externals=mkdir
addopts =
-q
-p no:warnings
@@ -59,7 +59,7 @@ deps =

commands =
pdm install --dev
{posargs:pytest tests -x -rw --create-db}
{posargs:pdm run pytest tests -vv -rw --create-db}

[testenv:mysql]
commands =
@@ -81,7 +81,10 @@ commands =

[testenv:docs]
basepython = python312
allowlist_externals=
mkdir
deps =
pdm
-rdocs/requirements.pip
commands =
mkdir -p ~build/docs

0 comments on commit 33e997d

Please sign in to comment.