Skip to content

Commit

Permalink
ci: update tox
Browse files Browse the repository at this point in the history
  • Loading branch information
shengchenyang committed Nov 15, 2024
1 parent 8b77df7 commit f0daac7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-pytest-{linux, darwin, windows}
envlist = py39-pytest-{linux, darwin, windows}

[testenv]
basepython = python3.9
Expand All @@ -16,7 +16,7 @@ commands =
coverage report
coverage xml

[testenv:py38-pytest-linux]
[testenv:py39-pytest-linux]
description = Run pytest on Linux.
platform = linux
deps =
Expand All @@ -26,16 +26,16 @@ setenv =
commands =
{[testenv]commands}

[testenv:py38-pytest-darwin]
inherit_from = py38-pytest-linux
[testenv:py39-pytest-darwin]
inherit_from = py39-pytest
description = Run pytest on Darwin.
platform = darwin
deps =
{[testenv]deps}
setenv =
RUNTEST_CFG = {env:RUNTEST_CFG}

[testenv:py38-pytest-windows]
[testenv:py39-pytest-windows]
description = Run pytest on Windows with pywin32.
platform = win32
passenv = USERNAME
Expand Down

0 comments on commit f0daac7

Please sign in to comment.