diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3d5294a..f6e9c12 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -35,10 +35,9 @@ jobs: with: python-version: ${{ matrix.python }} - name: Install dependencies - run: python -m pip install tox + run: python -m pip install tox tox-gh-actions - name: Run unit tests (via tox) - # Run tox using the version of Python in `PATH` - run: tox -e py + run: tox docs: name: Build docs runs-on: ubuntu-latest diff --git a/tox.ini b/tox.ini index 85a4fcc..0085d4c 100644 --- a/tox.ini +++ b/tox.ini @@ -36,5 +36,13 @@ commands = commands = sphinx-build -Wn -b html -d docs/_build/doctrees docs docs/_build/html +[gh-actions] +python = + 3.8: py38 + 3.9: py39 + 3.10: py310 + 3.11: py311 + 3.12: py312 + [coverage:run] branch = True