-
Notifications
You must be signed in to change notification settings - Fork 3.4k
37 lines (30 loc) Β· 970 Bytes
/
ci-build-docs.yml
File metadata and controls
37 lines (30 loc) Β· 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Docs/Test Workflow
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
concurrency:
group: docs-test-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
# Restrict permissions by default
permissions:
contents: read # Required for checkout
checks: write # Required for test reporting
jobs:
docs-build:
name: Test docs build
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: π₯ Checkout the repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: π Install uv and set Python
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
with:
python-version: "3.10"
activate-environment: true
- name: ποΈ Install dependencies
run: uv sync --frozen --group docs
- name: π§ͺ Test Docs Build
run: mkdocs build --verbose