ci: respect redirected pages in removed URL check (#612) #50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This workflow tests the Sphinx Stack. | |
| # Don't run this workflow on any repos that use the Sphinx Stack. | |
| name: Test Sphinx Stack | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| jobs: | |
| test-docs: | |
| name: Test on docs directory | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repo | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Build docs | |
| run: make -C docs html | |
| - name: Run inclusive language check | |
| if: success() || failure() | |
| run: make -C docs woke CONFIRM_SUDO=y | |
| - name: Run link check | |
| if: success() || failure() | |
| run: make -C docs linkcheck | |
| - name: Run spelling check | |
| if: success() || failure() | |
| run: make -C docs spelling CONFIRM_SUDO=y | |
| - name: Run styleguide check (allowed to fail) | |
| continue-on-error: true | |
| run: make -C docs vale | |
| - name: Run accessibility check (allowed to fail) | |
| if: success() || failure() | |
| continue-on-error: true | |
| run: make -C docs pa11y | |
| - name: Clean up | |
| if: success() || failure() | |
| run: make -C docs clean |