Skip to content

Commit

Permalink
First step in tomlifying tox
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy authored Oct 1, 2024
1 parent c2f142b commit dbc7656
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,14 @@ overrides."tool.coverage.paths.source".inline_arrays = false
overrides."tool.ruff.lint.isort.section-order".inline_arrays = false

[tool.tox]
env_list = [
"py310-linux",
"py310-macos",
"py311-linux",
"py311-macos",
"py312-linux",
"py312-macos",
]
legacy_tox_ini = """
[gh-actions]
python =
Expand All @@ -218,13 +226,9 @@ legacy_tox_ini = """
OS =
ubuntu-latest: linux
macos-latest: macos
[testenv]
commands =
pytest --cov --cov-report=lcov
deps =
pytest-cov
[tox]
env_list = py{310,311,312}-{linux,macos}
"""
testenv = {commands = [
"pytest --cov --cov-report=lcov",
], deps = [
"pytest-cov"
]}

0 comments on commit dbc7656

Please sign in to comment.