Skip to content

Commit

Permalink
Add py310 and fail on no env.
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilStenstrom committed Jul 12, 2024
1 parent d9ad439 commit 93b8b8b
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ envlist =
coverage,flake8,isort,mypy
requires =
virtualenv<=20.21.1

[gh-actions]
# Note: coverage runs the tests, so no need for py<version> on the last row
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310, coverage, flake8, isort, mypy
fail_on_no_env = True
isolated_build = True

[testenv]
Expand Down Expand Up @@ -60,12 +70,3 @@ deps = mypy
commands =
mypy .
{[cleanup]commands}

[gh-actions]
# Note: coverage runs the tests, so no need for py<version> on the last row
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: coverage, flake8, isort, mypy

0 comments on commit 93b8b8b

Please sign in to comment.