forked from alerta/alerta-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (38 loc) · 870 Bytes
/
tests.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
42
43
44
name: Tests
on:
push:
pull_request:
branches: [ master ]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install
run:
pip install -r requirements.txt
- name: nitpick
id: nitpick
run:
sphinx-build -n source build
- name: linkcheck
id: linkcheck
run:
sphinx-build -M linkcheck source build || true
- name: spelling
id: spelling
run:
sphinx-build -b spelling source build/spelling
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install
run:
pip install -r requirements.txt
- name: build
id: build
run:
sphinx-build -M html source build