forked from pypiserver/pypiserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
25 lines (21 loc) · 663 Bytes
/
Copy pathtox.ini
File metadata and controls
25 lines (21 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[tox]
envlist = py36, py37, py38, py39, py310, py311, pypy3
[testenv]
deps=-r{toxinidir}/requirements/test.pip
allowlist_externals=
/bin/sh
sitepackages=False
commands=
/bin/sh -c "{env:PYPISERVER_SETUP_CMD:true}"
pytest --cov=pypiserver {posargs:tests}
[pytest]
norecursedirs = bin parts develop-eggs eggs venv .* _* CVS {args}
[testenv:pre_twine]
# Allow calling ``tox -e pre_twine`` to test pypiserver with the most
# recent prerelease of twine.
allowlist_externals=
tox
setenv=
PYPISERVER_SETUP_CMD=pip install --upgrade --pre --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple twine
commands=
tox