File tree Expand file tree Collapse file tree 3 files changed +53
-27
lines changed Expand file tree Collapse file tree 3 files changed +53
-27
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches-ignore :
4
+ - ' github-comments'
5
+ pull_request :
6
+ branches-ignore :
7
+ - ' github-comments'
8
+
9
+ name : CI
10
+
11
+ jobs :
12
+ build :
13
+ name : Build
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - name : " Checkout"
19
+ uses : actions/checkout@v2
20
+
21
+ - name : " Set up Python 3.x"
22
+ uses : actions/setup-python@v1
23
+ with :
24
+ python-version : ' 3.7' # Semantic version range syntax or exact version of a Python version
25
+
26
+ - name : " Display Python version"
27
+ run : python -c "import sys; print(sys.version)"
28
+
29
+ - name : " Install Sphinx dependencies"
30
+ run : sudo apt-get install python-dev build-essential
31
+
32
+ - name : " Install Sphinx"
33
+ run : pip install --user sphinx
34
+
35
+ - name : " Install custom requirements via pip"
36
+ run : pip install -r _build/.requirements.txt
37
+
38
+ - name : " Build documentation"
39
+ run : make -C _build SPHINXOPTS=-nW html
40
+
41
+ doctor-rst :
42
+ name : DOCtor-RST
43
+
44
+ runs-on : ubuntu-latest
45
+
46
+ steps :
47
+ - name : " Checkout"
48
+ uses : actions/checkout@v2
49
+
50
+ - name : " Run DOCtor-RST"
51
+ uses : docker://oskarstark/doctor-rst
52
+ with :
53
+ args : --short
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments