mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
6ea316c4c1
* Upgrade GitHub Actions * Update ci.yml * Update ci.yml * Drop Python 3.11-dev * Re-add Python 3.6 * Re-add py36
26 lines
663 B
INI
26 lines
663 B
INI
[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
|