Skip to content

Commit 8e887e9

Browse files
committed
updates tox
1 parent b40d543 commit 8e887e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ passenv =
3232
PGPORT
3333

3434
whitelist_externals =
35+
mkdir
3536
/usr/local/bin/psql
3637
/bin/sh
3738
/usr/local/bin/mysql
@@ -48,6 +49,7 @@ setenv =
4849

4950
deps =
5051
.[dev]
52+
pdm
5153
pypy-pg: psycopg2cffi
5254
mysql: mysqlclient
5355
d32: django==3.2.*
@@ -56,6 +58,7 @@ deps =
5658

5759

5860
commands =
61+
pdm install --dev
5962
{posargs:pytest tests -x -rw --create-db}
6063

6164
[testenv:mysql]
@@ -78,14 +81,11 @@ commands =
7881

7982
[testenv:docs]
8083
basepython = python310
81-
allowlist_externals =
82-
mkdir
83-
pipenv
8484
deps =
8585
-rdocs/requirements.pip
8686
commands =
87-
mkdir -p {toxinidir}/~build/docs
88-
pipenv run sphinx-build -aE docs/ {toxinidir}/~build/docs
87+
mkdir -p ~build/docs
88+
pdm run sphinx-build -aE docs/ ~build/docs
8989

9090
[testenv:lint]
9191
envdir={toxworkdir}/d32-py39/

0 commit comments

Comments
 (0)