File tree Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Docs
2
+
3
+ on : [push, pull_request]
4
+
5
+ env :
6
+ PY_COLORS : 1
7
+
8
+ jobs :
9
+ sphinx :
10
+ runs-on : ubuntu-20.04
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - name : Set up Python
14
+ uses : actions/setup-python@v2
15
+ with :
16
+ python-version : 3.8
17
+ - name : Install dependencies
18
+ run : pip install tox
19
+ - name : Build docs
20
+ env :
21
+ TOXENV : docs
22
+ run : tox
23
+
24
+ twine-check :
25
+ runs-on : ubuntu-20.04
26
+ steps :
27
+ - uses : actions/checkout@v2
28
+ - name : Set up Python
29
+ uses : actions/setup-python@v2
30
+ with :
31
+ python-version : 3.8
32
+ - name : Install dependencies
33
+ run : pip install tox twine wheel
34
+ - name : Check twine readme rendering
35
+ env :
36
+ TOXENV : twine-check
37
+ run : |
38
+ python3 setup.py sdist bdist_wheel
39
+ tox
Original file line number Diff line number Diff line change 29
29
env :
30
30
TOXENV : ${{ matrix.toxenv }}
31
31
run : tox
32
+
32
33
functional :
33
34
runs-on : ubuntu-20.04
34
35
strategy :
46
47
env :
47
48
TOXENV : ${{ matrix.toxenv }}
48
49
run : tox
50
+
51
+ coverage :
52
+ runs-on : ubuntu-20.04
53
+ steps :
54
+ - uses : actions/checkout@v2
55
+ - name : Set up Python ${{ matrix.python-version }}
56
+ uses : actions/setup-python@v2
57
+ with :
58
+ python-version : 3.8
59
+ - name : Install dependencies
60
+ run : pip install tox pytest-github-actions-annotate-failures
61
+ - name : Run tests
62
+ env :
63
+ PY_COLORS : 1
64
+ TOXENV : cover
65
+ run : tox
66
+ - name : Upload codecov coverage
67
+ uses : codecov/codecov-action@v1
68
+ with :
69
+ files : ./coverage.xml
70
+ flags : unit
71
+ fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments