File tree Expand file tree Collapse file tree 2 files changed +23
-24
lines changed Expand file tree Collapse file tree 2 files changed +23
-24
lines changed Original file line number Diff line number Diff line change 3131 - " 3.13"
3232 steps :
3333 # yamllint disable-line rule:line-length
34- - uses : paddyroddy/.github/actions/python/tox@f2115592179eb43cf106eeb181adcd003d4cba41 # v0
34+ - uses : paddyroddy/.github/actions/python/tox@2e83ccde571114eea4dacae50214fd1dff839be0 # v0
3535 with :
3636 cache-path : .tox
37- operating-system : ${{ matrix.os }}
3837 pyproject-toml : ./pyproject.toml
3938 python-version : ${{ matrix.python-version }}
Original file line number Diff line number Diff line change @@ -137,27 +137,27 @@ write_to = "src/example/_version.py"
137137overrides."project.classifiers".inline_arrays = false
138138overrides."tool.coverage.paths.source".inline_arrays = false
139139overrides."tool.ruff.lint.isort.section-order".inline_arrays = false
140+ overrides."tool.tox.env_run_base.commands".inline_arrays = false
140141
141142[tool .tox ]
142- legacy_tox_ini = """
143- [gh-actions]
144- python =
145- 3.11: py311
146- 3.12: py312
147- 3.13: py313
148-
149- [gh-actions:env]
150- OS =
151- ubuntu-latest: linux
152- macos-latest: macos
153- windows-latest: windows
154-
155- [testenv]
156- commands =
157- pytest --cov --cov-report=lcov
158- deps =
159- pytest-cov
160-
161- [tox]
162- env_list = py{311,312}-{linux,macos,windows}
163- """
143+ env_list = [
144+ " py311" ,
145+ " py312" ,
146+ " py313" ,
147+ ]
148+ env_run_base = {commands = [
149+ [
150+ " pytest" ,
151+ " --cov" ,
152+ " --cov-report=lcov" ,
153+ ],
154+ ], deps = [
155+ " pytest-cov" ,
156+ ]}
157+ gh.python = {"3.11" = [
158+ " py311" ,
159+ ], "3.12" = [
160+ " py312" ,
161+ ], "3.13" = [
162+ " py313" ,
163+ ]}
You can’t perform that action at this time.
0 commit comments