Skip to content

Commit 33e997d

Browse files
committed
updats tox
1 parent 38af147 commit 33e997d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dev = [
2929
"mock",
3030
"pre-commit",
3131
"psycopg2-binary",
32-
"pytest",
32+
"pytest>=8.3.3",
3333
"pytest-cov",
3434
"pytest-django",
3535
"pytest-echo",

tox.ini

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[tox]
22
envlist = d{42,51}-py{311,312}-{pg,sqlite,mysql},docs,lint,package
3-
3+
skip_missing_interpreters = true
44

55
[pytest]
66
pythonpath=./tests/demoapp/ src
77
django_find_project = false
88
DJANGO_SETTINGS_MODULE=demo.settings
99
norecursedirs = .tox docs ./demoapp/
1010
python_files=tests/test_*.py
11-
allowlist_externals=pytest
11+
allowlist_externals=mkdir
1212
addopts =
1313
-q
1414
-p no:warnings
@@ -59,7 +59,7 @@ deps =
5959

6060
commands =
6161
pdm install --dev
62-
{posargs:pytest tests -x -rw --create-db}
62+
{posargs:pdm run pytest tests -vv -rw --create-db}
6363

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

8282
[testenv:docs]
8383
basepython = python312
84+
allowlist_externals=
85+
mkdir
8486
deps =
87+
pdm
8588
-rdocs/requirements.pip
8689
commands =
8790
mkdir -p ~build/docs

0 commit comments

Comments
 (0)