-
Notifications
You must be signed in to change notification settings - Fork 37
41 lines (33 loc) · 865 Bytes
/
ci.yml
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: continuous-integration
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
- uses: pre-commit/action@v2.0.0
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install python dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: "Build HTML docs"
run: |
echo "SPHINX_LINKCHECK $SPHINX_LINKCHECK"
make -C docs html linkcheck
env:
SPHINXOPTS: -nW --keep-going
SPHINX_LINKCHECK: on