Skip to content

Commit

Permalink
tox.ini: Add py311 in ignore_errors mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Aug 26, 2022
1 parent df78d34 commit ef1b77d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# content of: tox.ini, put in same dir as setup.py
[tox]
envlist = clean,py{36,37,38,39,310},report
envlist = clean,py{36,37,38,39,310,311},report

[gh-actions]
python =
Expand All @@ -9,6 +9,7 @@ python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311

[testenv]
deps = -r requirements-test.txt
Expand All @@ -17,8 +18,8 @@ commands =
{envpython} -m pip check
pytest --cov --cov-append --cov-context=test --cov-config=tox.ini {posargs}
depends =
py{36,37,38,39,310}: clean
report: py{36,37,38,39,310}
py{36,37,38,39,310,311}: clean
report: py{36,37,38,39,310,311}

[testenv:clean]
basepython = python3.8
Expand All @@ -35,7 +36,7 @@ commands =
coverage report
coverage html

[testenv:py310]
[testenv:py311]
ignore_errors = true

[pytest]
Expand Down

0 comments on commit ef1b77d

Please sign in to comment.