Upgrade to tox 4. (Now a minimum requirement.)
This commit is contained in:
parent
257ab77bea
commit
895a0ccb3c
2 changed files with 12 additions and 10 deletions
|
@ -21,8 +21,8 @@ apk add --no-cache python3 py3-pip borgbackup postgresql-client mariadb-client m
|
||||||
py3-ruamel.yaml py3-ruamel.yaml.clib py3-yaml bash sqlite fish
|
py3-ruamel.yaml py3-ruamel.yaml.clib py3-yaml bash sqlite fish
|
||||||
# If certain dependencies of black are available in this version of Alpine, install them.
|
# If certain dependencies of black are available in this version of Alpine, install them.
|
||||||
apk add --no-cache py3-typed-ast py3-regex || true
|
apk add --no-cache py3-typed-ast py3-regex || true
|
||||||
python3 -m pip install --no-cache --upgrade pip==22.2.2 setuptools==64.0.1 pymongo==4.4.1
|
python3 -m pip install --no-cache --upgrade pip==22.2.2 setuptools==64.0.1
|
||||||
pip3 install --ignore-installed tox==3.25.1
|
pip3 install --ignore-installed tox==4.11.3
|
||||||
export COVERAGE_FILE=/tmp/.coverage
|
export COVERAGE_FILE=/tmp/.coverage
|
||||||
|
|
||||||
if [ "$1" != "--end-to-end-only" ]; then
|
if [ "$1" != "--end-to-end-only" ]; then
|
||||||
|
|
18
tox.ini
18
tox.ini
|
@ -1,12 +1,12 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py37,py38,py39,py310,py311
|
env_list = py37,py38,py39,py310,py311
|
||||||
skip_missing_interpreters = True
|
skip_missing_interpreters = True
|
||||||
skipsdist = True
|
package = editable
|
||||||
minversion = 3.14.1
|
min_version = 4.0
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
deps =
|
||||||
deps = -rtest_requirements.txt
|
-r test_requirements.txt
|
||||||
whitelist_externals =
|
whitelist_externals =
|
||||||
find
|
find
|
||||||
sh
|
sh
|
||||||
|
@ -27,10 +27,12 @@ commands =
|
||||||
pytest {posargs}
|
pytest {posargs}
|
||||||
|
|
||||||
[testenv:end-to-end]
|
[testenv:end-to-end]
|
||||||
usedevelop = False
|
package = editable
|
||||||
deps = -rtest_requirements.txt
|
deps =
|
||||||
|
-r test_requirements.txt
|
||||||
|
pymongo==4.4.1
|
||||||
.
|
.
|
||||||
passenv = COVERAGE_FILE
|
pass_env = COVERAGE_FILE
|
||||||
commands =
|
commands =
|
||||||
pytest {posargs} --no-cov tests/end-to-end
|
pytest {posargs} --no-cov tests/end-to-end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue