From 46c0e4167d494d9b0d1d68645b7767c4259701a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Cederberg?= Date: Wed, 24 Jul 2024 15:04:27 +0200 Subject: [PATCH] Ci: Test on Sphinx 8 / Dev. (#259) * CI: Testing for latest Sphinx (8.0) * CI: Fix helper class version checking. --- .github/workflows/python-package.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 41775ab..ee7aae6 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -54,6 +54,28 @@ jobs: tox -e "${{matrix.python-version}}-sphinx${{matrix.sphinx-version}}-pygments${{matrix.pygments-version}}" + test-sphinx-latest: + name: Run tests for Python ${{ matrix.python-version }}, Sphinx ${{ matrix.sphinx-version }}, Pygments ${{ matrix.pygments-version }} + timeout-minutes: 5 + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10", "3.11", "3.12"] + sphinx-version: ["dev"] + pygments-version: ["latest"] + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + architecture: x64 + - name: Run with Tox + run: | + pip install tox==4.8.0 + tox -e "${{matrix.python-version}}-sphinx${{matrix.sphinx-version}}-pygments${{matrix.pygments-version}}" + + test-sphinx-latest: name: Run tests for Python ${{ matrix.python-version }}, Sphinx ${{ matrix.sphinx-version }}, Pygments ${{ matrix.pygments-version }} timeout-minutes: 5