diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5587bcd4..04336bca 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,12 +24,11 @@ jobs: - "3.13" steps: # yamllint disable-line rule:line-length - - uses: paddyroddy/.github/actions/python/tox@cae02393710f18f5fbacd9545d1a38f0d661758e # v0 + - uses: paddyroddy/.github/actions/python/tox@2e83ccde571114eea4dacae50214fd1dff839be0 # v0 with: cache-path: |- .tox ~/.cache/sleplet - operating-system: ${{ matrix.os }} pyproject-toml: ./pyproject.toml python-version: ${{ matrix.python-version }} diff --git a/pyproject.toml b/pyproject.toml index 8a121f2b..34a18f7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -209,17 +209,12 @@ overrides."tool.ruff.lint.isort.section-order".inline_arrays = false [tool.tox] legacy_tox_ini = """ - [gh-actions] + [gh] python = 3.11: py311 3.12: py312 3.13: py313 - [gh-actions:env] - OS = - ubuntu-latest: linux - macos-latest: macos - [testenv] commands = pytest --cov --cov-report=lcov @@ -227,5 +222,5 @@ legacy_tox_ini = """ pytest-cov [tox] - env_list = py{310,311,312}-{linux,macos} + env_list = py{311,312} """