Skip to content

Commit

Permalink
Use dotted tox factors, now that they are available
Browse files Browse the repository at this point in the history
  • Loading branch information
youtux committed Jul 23, 2023
1 parent 3c40550 commit 2571556
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ jobs:
matrix:
include:
- python-version: "3.8"
toxfactor: py38
toxfactor: py3.8
ignore-typecheck-outcome: true
ignore-test-outcome: false
- python-version: "3.9"
toxfactor: py39
toxfactor: py3.9
ignore-typecheck-outcome: true
ignore-test-outcome: false
- python-version: "3.10"
toxfactor: py310
toxfactor: py3.10
ignore-typecheck-outcome: true
ignore-test-outcome: false
- python-version: "3.11"
toxfactor: py311
toxfactor: py3.11
ignore-typecheck-outcome: true
ignore-test-outcome: false
- python-version: "3.12-dev"
toxfactor: py312
toxfactor: py3.12
ignore-typecheck-outcome: true
ignore-test-outcome: false
ignore-test-outcome:

steps:
- uses: actions/checkout@v3
Expand Down
16 changes: 8 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
distshare = {homedir}/.tox/distshare
envlist = py{38,39,310,311,312,313}-pytest{62,70,71,72,73,74,latest}-coverage
py311-pytestlatest-xdist-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
py3.11-pytestlatest-xdist-coverage
mypy

[testenv]
Expand All @@ -11,12 +11,12 @@ setenv =
xdist: _PYTEST_MORE_ARGS=-n3 -rfsxX
deps =
pytestlatest: pytest
pytest74: pytest~=7.4.0
pytest73: pytest~=7.3.0
pytest72: pytest~=7.2.0
pytest71: pytest~=7.1.0
pytest70: pytest~=7.0.0
pytest62: pytest~=6.2.0
pytest7.4: pytest~=7.4.0
pytest7.3: pytest~=7.3.0
pytest7.2: pytest~=7.2.0
pytest7.1: pytest~=7.1.0
pytest7.0: pytest~=7.0.0
pytest6.2: pytest~=6.2.0

coverage: coverage[toml]
xdist: pytest-xdist
Expand Down

0 comments on commit 2571556

Please sign in to comment.