Skip to content

Commit

Permalink
Put tox-gh-actions back into INI support
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy committed Oct 1, 2024
1 parent 943f7a5 commit 7e35526
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -151,19 +151,21 @@ env_list = [
"py312-macos",
"py312-windows",
]
gh-actions.python = [
"3.10: py310",
"3.11: py311",
"3.12: py312",
]
gh-actions.env.OS = [
"macos-latest: macos",
"ubuntu-latest: linux",
"windows-latest: windows",
]
testenv.commands = [
legacy_tox_ini = """
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
[gh-actions:env]
OS =
ubuntu-latest: linux
macos-latest: macos
windows-latest: windows
"""
env.testenv = {commands = [
"pytest --cov --cov-report=lcov",
]
testenv.deps = [
], deps = [
"pytest-cov",
]
]}

0 comments on commit 7e35526

Please sign in to comment.