Skip to content

Commit 91b06ea

Browse files
authored
Use tox-gh under the hood over tox-gh-actions (#420)
Part of the `tox-dev` organisation. Working towards #419.
1 parent bd4789c commit 91b06ea

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ jobs:
2323
- "3.12"
2424
steps:
2525
# yamllint disable-line rule:line-length
26-
- uses: paddyroddy/.github/actions/python/tox@cae02393710f18f5fbacd9545d1a38f0d661758e # v0
26+
- uses: paddyroddy/.github/actions/python/tox@2e83ccde571114eea4dacae50214fd1dff839be0 # v0
2727
with:
2828
cache-path: |-
2929
.tox
3030
~/.cache/sleplet
31-
operating-system: ${{ matrix.os }}
3231
pyproject-toml: ./pyproject.toml
3332
python-version: ${{ matrix.python-version }}
3433

pyproject.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -208,22 +208,17 @@ overrides."tool.ruff.lint.isort.section-order".inline_arrays = false
208208

209209
[tool.tox]
210210
legacy_tox_ini = """
211-
[gh-actions]
211+
[gh]
212212
python =
213213
3.11: py311
214214
3.12: py312
215215
216-
[gh-actions:env]
217-
OS =
218-
ubuntu-latest: linux
219-
macos-latest: macos
220-
221216
[testenv]
222217
commands =
223218
pytest --cov --cov-report=lcov
224219
deps =
225220
pytest-cov
226221
227222
[tox]
228-
env_list = py{310,311,312}-{linux,macos}
223+
env_list = py{311,312}
229224
"""

0 commit comments

Comments
 (0)