Skip to content

Cron Scheduled CI Tests #106

Cron Scheduled CI Tests

Cron Scheduled CI Tests #106

# GitHub Actions workflow that runs on a cron schedule.
name: Cron Scheduled CI Tests
on:
schedule:
# run at 6am UTC on Mondays
- cron: '0 6 * * 1'
jobs:
# Testing links in documents is a good example of something to run on a schedule
# to catch links that stop working for some reason.
doc_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python to build docs with sphinx
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: 3.9
- name: Install base dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Check links in docs using tox
run: |
tox -e linkcheck