@@ -9,6 +9,7 @@ envlist =
99 schemas
1010 py
1111 py-devel
12+ pre
1213 eco
1314isolated_build = true
1415skip_missing_interpreters = True
@@ -20,6 +21,7 @@ requires =
2021description =
2122 Run the tests under {basepython} and
2223 devel: ansible devel branch
24+ pre: Enables --pre when installing dependencies, testing prereleases
2325deps =
2426 devel: ansible-core @ git+https://github.com/ansible/ansible.git # GPLv3+
2527 devel: ansible-compat @ git+https://github.com/ansible/ansible-compat.git # GPLv3+
@@ -29,6 +31,7 @@ commands_pre =
2931 sh -c " rm -f .tox/.coverage.* 2>/dev/null || true"
3032 bash ./tools/install-reqs.sh
3133commands =
34+ ansible --version
3235 # safety measure to assure we do not accidentally run tests with broken dependencies
3336 {envpython} -m pip check
3437 coverage run -m pytest {posargs:\
@@ -63,10 +66,11 @@ setenv =
6366 COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}/.coverage.{envname}}
6467 COVERAGE_PROCESS_START ={toxinidir}/pyproject.toml
6568 PIP_CONSTRAINT = {toxinidir}/.config/requirements.txt
66- devel,pkg: PIP_CONSTRAINT = /dev/null
69+ devel,pkg,pre : PIP_CONSTRAINT = /dev/null
6770 PIP_DISABLE_PIP_VERSION_CHECK = 1
6871 PRE_COMMIT_COLOR = always
6972 FORCE_COLOR = 1
73+ pre: PIP_PRE = 1
7074allowlist_externals =
7175 bash
7276 find
0 commit comments