Skip to content

Commit dbc7656

Browse files
authored
First step in tomlifying tox
Following tox-dev/tox#3353 but pending ymyzk/tox-gh-actions#197
1 parent c2f142b commit dbc7656

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

pyproject.toml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,14 @@ overrides."tool.coverage.paths.source".inline_arrays = false
207207
overrides."tool.ruff.lint.isort.section-order".inline_arrays = false
208208

209209
[tool.tox]
210+
env_list = [
211+
"py310-linux",
212+
"py310-macos",
213+
"py311-linux",
214+
"py311-macos",
215+
"py312-linux",
216+
"py312-macos",
217+
]
210218
legacy_tox_ini = """
211219
[gh-actions]
212220
python =
@@ -218,13 +226,9 @@ legacy_tox_ini = """
218226
OS =
219227
ubuntu-latest: linux
220228
macos-latest: macos
221-
222-
[testenv]
223-
commands =
224-
pytest --cov --cov-report=lcov
225-
deps =
226-
pytest-cov
227-
228-
[tox]
229-
env_list = py{310,311,312}-{linux,macos}
230229
"""
230+
testenv = {commands = [
231+
"pytest --cov --cov-report=lcov",
232+
], deps = [
233+
"pytest-cov"
234+
]}

0 commit comments

Comments
 (0)