2024-04-18 10:51:48 +00:00
|
|
|
name: Test documentation build
|
|
|
|
|
|
|
|
on: [pull_request]
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-$${{ github.head_ref || github.run_id }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install python
|
|
|
|
uses: actions/setup-python@v4
|
|
|
|
with:
|
2024-04-21 14:29:06 +00:00
|
|
|
python-version: 3.x
|
2024-04-18 10:51:48 +00:00
|
|
|
- name: Setup cache
|
|
|
|
uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
key: ${{ github.ref }}
|
|
|
|
path: .cache
|
|
|
|
- name: Setup dependencies
|
|
|
|
run: pip install -r docs/requirements.txt
|
|
|
|
- name: Build docs
|
2024-04-21 14:29:06 +00:00
|
|
|
run: mkdocs build --strict
|