File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches : master
7
+
8
+ jobs :
9
+ test :
10
+ name : test w/ Python ${{ matrix.python-version }}
11
+
12
+ runs-on : ubuntu-latest
13
+
14
+ strategy :
15
+ matrix :
16
+ python-version : ["3.9"]
17
+
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - uses : actions/cache@v1
21
+ with :
22
+ path : ~/.cache/pip
23
+ key : ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
24
+ restore-keys : |
25
+ ${{ runner.os }}-pip-
26
+ - uses : actions/setup-python@v2
27
+ with :
28
+ python-version : ${{ matrix.python-version }}
29
+ - name : Install Dependencies
30
+ run : python3 -m pip install -U pip -r requirements.txt
31
+ - name : Build Docs
32
+ run : sphinx-build -n -W -q -b html -d _build/doctrees . _build/html
33
+ - name : Link Check
34
+ run : sphinx-build -b linkcheck -d _build/doctrees . _build/linkcheck
35
+ continue-on-error : true
You can’t perform that action at this time.
0 commit comments