diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab4b7c3..46cadf2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade coverage[toml] tox tox-gh-actions - name: "Run tox targets for ${{ matrix.python-version }}" - run: "python -m tox" + run: tox # use a modern Python version for code coverage - uses: "actions/setup-python@v5" diff --git a/tox.ini b/tox.ini index ebede07..6b31f3e 100644 --- a/tox.ini +++ b/tox.ini @@ -3,6 +3,12 @@ envlist = lint py{310, 311, 312}-{base,s3} +[gh-actions] +python = + 3.10: lint, py310 + 3.11: lint, py311 + 3.12: lint, py312 + [testenv] usedevelop = True deps =