-
-
Notifications
You must be signed in to change notification settings - Fork 10
41 lines (35 loc) · 998 Bytes
/
Copy pathrelease_doc_warnings.yml
File metadata and controls
41 lines (35 loc) · 998 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
38
39
40
41
name: 'RELEASE: Build docs'
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- stable
jobs:
docs_warnings_as_errors:
name: with warnings as errors
runs-on: 'ubuntu-latest'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
if: ${{ !github.event.pull_request.draft }}
steps:
- name: Check out repo
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
with:
persist-credentials: false
- name: Install Python
uses: actions/setup-python@28f2168f4d98ee0445e3c6321f6e6616c83dd5ec
with:
python-version: '3.13'
cache: 'pip'
cache-dependency-path: requirements-rtd.txt
- name: Install project and docs requirements
run: pip install . -r requirements-rtd.txt
- name: Build docs with warnings as errors
run: |
cd doc
make html -Wn --keep-going