2022-06-09 17:08:54 +02:00
|
|
|
name: Check Links in Documentation
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
# First day of month at 05:46 in every 2nd month
|
|
|
|
- cron: '46 5 1 */2 *'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test-sphinx-build:
|
|
|
|
name: test-sphinx-linkcheck
|
|
|
|
runs-on: ${{matrix.os}}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-09-01 14:12:41 +02:00
|
|
|
python-version: [3.10]
|
2022-06-09 17:08:54 +02:00
|
|
|
os: [ubuntu-latest]
|
|
|
|
fail-fast: False
|
|
|
|
steps:
|
2023-10-02 20:20:28 +02:00
|
|
|
- uses: actions/checkout@v4
|
2022-06-09 17:08:54 +02:00
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
2024-01-03 16:43:35 +01:00
|
|
|
uses: actions/setup-python@v5
|
2022-06-09 17:08:54 +02:00
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
python -W ignore -m pip install --upgrade pip
|
2024-07-01 20:43:54 +02:00
|
|
|
python -W ignore -m pip install -r requirements-dev-all.txt
|
2022-06-09 17:08:54 +02:00
|
|
|
- name: Check Links
|
|
|
|
run: sphinx-build docs/source docs/build/html -W --keep-going -j auto -b linkcheck
|