Use dotted tox factors, now that they are available

This commit is contained in:
Alessio Bogon 2023-07-23 13:15:40 +02:00
parent 3c40550cd5
commit 257155610b
2 changed files with 14 additions and 14 deletions

View File

@ -12,25 +12,25 @@ jobs:
matrix: matrix:
include: include:
- python-version: "3.8" - python-version: "3.8"
toxfactor: py38 toxfactor: py3.8
ignore-typecheck-outcome: true ignore-typecheck-outcome: true
ignore-test-outcome: false ignore-test-outcome: false
- python-version: "3.9" - python-version: "3.9"
toxfactor: py39 toxfactor: py3.9
ignore-typecheck-outcome: true ignore-typecheck-outcome: true
ignore-test-outcome: false ignore-test-outcome: false
- python-version: "3.10" - python-version: "3.10"
toxfactor: py310 toxfactor: py3.10
ignore-typecheck-outcome: true ignore-typecheck-outcome: true
ignore-test-outcome: false ignore-test-outcome: false
- python-version: "3.11" - python-version: "3.11"
toxfactor: py311 toxfactor: py3.11
ignore-typecheck-outcome: true ignore-typecheck-outcome: true
ignore-test-outcome: false ignore-test-outcome: false
- python-version: "3.12-dev" - python-version: "3.12-dev"
toxfactor: py312 toxfactor: py3.12
ignore-typecheck-outcome: true ignore-typecheck-outcome: true
ignore-test-outcome: false ignore-test-outcome:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

16
tox.ini
View File

@ -1,7 +1,7 @@
[tox] [tox]
distshare = {homedir}/.tox/distshare distshare = {homedir}/.tox/distshare
envlist = py{38,39,310,311,312,313}-pytest{62,70,71,72,73,74,latest}-coverage envlist = py{3.8,3.9,3.10,3.11,3.12,3.13}-pytest{6.2,7.0,7.1,7.2,7.3,7.4,latest}-coverage
py311-pytestlatest-xdist-coverage py3.11-pytestlatest-xdist-coverage
mypy mypy
[testenv] [testenv]
@ -11,12 +11,12 @@ setenv =
xdist: _PYTEST_MORE_ARGS=-n3 -rfsxX xdist: _PYTEST_MORE_ARGS=-n3 -rfsxX
deps = deps =
pytestlatest: pytest pytestlatest: pytest
pytest74: pytest~=7.4.0 pytest7.4: pytest~=7.4.0
pytest73: pytest~=7.3.0 pytest7.3: pytest~=7.3.0
pytest72: pytest~=7.2.0 pytest7.2: pytest~=7.2.0
pytest71: pytest~=7.1.0 pytest7.1: pytest~=7.1.0
pytest70: pytest~=7.0.0 pytest7.0: pytest~=7.0.0
pytest62: pytest~=6.2.0 pytest6.2: pytest~=6.2.0
coverage: coverage[toml] coverage: coverage[toml]
xdist: pytest-xdist xdist: pytest-xdist