Skip to content

Doc Check Links

Doc Check Links #2

name: Doc Check Links
on:
schedule:
# At 00:00 on Sunday.
# https://crontab.guru
- cron: '0 0 * * 0'
workflow_dispatch:
# Set permissions at the job level.
permissions: {}
jobs:
doc-check-links:
if: github.repository_owner == 'pytest-dev'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run sphinx linkcheck via tox
run: tox -e docs-checklinks