Skip to content

Commit

Permalink
squashme: can't install sphinx 4.x on python 3.10 or 3.11?
Browse files Browse the repository at this point in the history
  • Loading branch information
svenevs committed Oct 19, 2023
1 parent 877e4f3 commit b7e340c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test_python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,16 @@ jobs:
pip install -U pip tox codecov coverage
# Sphinx 4.0.0 ###################################################################
- name: Test Python ${{ matrix.python-version }} / sphinx==4.0.0
# Sphinx 4 appears to by python < 3.10.
if: ${{ matrix.python-version == '3.8' || matrix.python-version == '3.9' }}
env:
# NOTE: this is the current minimum supported.
SPHINX_VERSION: '==4.0.0'
run: |
tox -e py -- --cov-report xml:coverage.xml --cov
- name: Upload Code Coverage for Python ${{ matrix.python-version }} / sphinx==4.0.0
# Sphinx 4 appears to by python < 3.10.
if: ${{ matrix.python-version == '3.8' || matrix.python-version == '3.9' }}
run: |
codecov --required -X gcov -f coverage.xml --name "[GHA] ${{ matrix.os }}-py${{ matrix.python-version }}-sphinx4.0.0"
# Don't let code coverage utilities share anything, force clean it all.
Expand Down

0 comments on commit b7e340c

Please sign in to comment.