Skip to content

Bump CI python version to 3.9 #994

Bump CI python version to 3.9

Bump CI python version to 3.9 #994

name: "Check docs and links"
on:
- pull_request
- push
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: "Install prerequisites"
run: |
pip3 install -r docs/requirements.txt
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
pre-build-command: |
sphinx-apidoc -f grafanalib -o docs/api
python setup.py install --user
build-command: "make html"
- name: Link Checker
id: lc
uses: lycheeverse/[email protected]
with:
args: --verbose **/*.html
- name: Fail if there were link errors
run: exit ${{ steps.lc.outputs.exit_code }}