From f407cff984271bcd915aba02f5ebd3a2a27d2fc3 Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Thu, 14 Sep 2023 11:35:38 +0200 Subject: [PATCH] Update dependencies according to breathe==4.35.0 --- .github/workflows/test_python.yaml | 37 ++++++++++++++++-------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/.github/workflows/test_python.yaml b/.github/workflows/test_python.yaml index f4b40e0..6381a76 100644 --- a/.github/workflows/test_python.yaml +++ b/.github/workflows/test_python.yaml @@ -63,23 +63,6 @@ jobs: - name: Install Python Tools run: | pip install -U pip tox codecov coverage - # Sphinx 3.0.0 ################################################################### - - name: Test Python ${{ matrix.python-version }} / sphinx==3.0.0 - env: - # NOTE: this is the current minimum supported. - SPHINX_VERSION: '==3.0.0' - run: | - tox -e py -- --cov-report xml:coverage.xml --cov - - name: Upload Code Coverage for Python ${{ matrix.python-version }} / sphinx==3.0.0 - run: | - codecov --required -X gcov -f coverage.xml --name "[GHA] ${{ matrix.os }}-py${{ matrix.python-version }}-sphinx3.0.0" - # Don't let code coverage utilities share anything, force clean it all. - - name: Cleanup Python ${{ matrix.python-version }} Testing / Coverage Artifacts - run: | - mv .gitignore nolongerignored - git clean -n - git clean -f - git reset --hard # Sphinx 4.x ##################################################################### - name: Test Python ${{ matrix.python-version }} / sphinx 4.x env: @@ -127,3 +110,23 @@ jobs: if: ${{ matrix.python-version != '3.7' }} run: | codecov --required -X gcov -f coverage.xml --name "[GHA] ${{ matrix.os }}-py${{ matrix.python-version }}-sphinx6.x" + # Don't let code coverage utilities share anything, force clean it all. + - name: Cleanup Python ${{ matrix.python-version }} Testing / Coverage Artifacts + run: | + mv .gitignore nolongerignored + git clean -n + git clean -f + git reset --hard + # Sphinx 7.x ##################################################################### + - name: Test Python ${{ matrix.python-version }} / sphinx 7.x + # sphinx 7.x requires python 3.9+ + if: ${{ matrix.python-version != '3.7' && matrix.python-version != '3.8' }} + env: + # Test sphinx <7.2. + SPHINX_VERSION: '>=7,<7.2' + run: | + tox -e py -- --cov-report xml:coverage.xml --cov + - name: Upload Code Coverage for Python ${{ matrix.python-version }} / sphinx 7.x + if: ${{ matrix.python-version != '3.7' && matrix.python-version != '3.8' }} + run: | + codecov --required -X gcov -f coverage.xml --name "[GHA] ${{ matrix.os }}-py${{ matrix.python-version }}-sphinx6.x"