Skip to content

LinkCheck - All files 🔗 #35

LinkCheck - All files 🔗

LinkCheck - All files 🔗 #35

Workflow file for this run

name: LinkCheck - All files 🔗
on:
schedule:
- cron: "0 5 * * 0" # Runs at 05:00 on Sunday.
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
doc:
name: Check Links
runs-on: ubuntu-20.04
env:
PYVISTA_OFF_SCREEN: "True"
ALLOW_PLOTTING: true
SHELLOPTS: "errexit:pipefail"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- uses: awalsh128/cache-apt-pkgs-action@v1.1.3
with:
packages: libosmesa6-dev libgl1-mesa-dev python3-tk pandoc git-restore-mtime
version: 3.0
- name: Install PyVista and dependencies
run: |
pip install -e .[docs]
- name: Install custom OSMesa VTK variant
run: |
pip uninstall vtk -y
pip install vtk-osmesa==9.3.0 --index-url https://gitlab.kitware.com/api/v4/projects/13/packages/pypi/simple
- name: LinkCheck
run: make -C doc linkcheck SPHINXOPTS="--color"