File tree Expand file tree Collapse file tree 2 files changed +68
-3
lines changed Expand file tree Collapse file tree 2 files changed +68
-3
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,11 @@ jobs:
1919 fail-fast : false
2020
2121 steps :
22- - uses : actions/checkout@v2
22+ - name : Check out the repo
23+ uses : actions/checkout@v2
2324
24- - uses : actions/setup-python@v2
25- name : Install Python
25+ - name : Install Python
26+ uses : actions/setup-python@v2
2627 with :
2728 python-version : " 3.7"
2829
Original file line number Diff line number Diff line change 1+ # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
2+ # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
3+
4+ name : " Quality checks"
5+
6+ on :
7+ push :
8+ branches : ["master"]
9+ pull_request :
10+ branches : ["master"]
11+ workflow_dispatch :
12+
13+ defaults :
14+ run :
15+ shell : bash
16+
17+ jobs :
18+ lint :
19+ name : Pylint etc
20+ runs-on : ubuntu-latest
21+
22+ steps :
23+ - name : " Check out the repo"
24+ uses : " actions/checkout@v2"
25+
26+ - name : " Install Python"
27+ uses : " actions/setup-python@v2"
28+ with :
29+ python-version : " 3.8"
30+
31+ - name : " Install dependencies"
32+ run : |
33+ set -xe
34+ python -VV
35+ python -m site
36+ python -m pip install -r requirements/tox.pip
37+
38+ - name : " Tox lint"
39+ run : |
40+ python -m tox -e lint
41+
42+ doc :
43+ name : Build docs
44+ runs-on : ubuntu-latest
45+
46+ steps :
47+ - name : " Check out the repo"
48+ uses : " actions/checkout@v2"
49+
50+ - name : " Install Python"
51+ uses : " actions/setup-python@v2"
52+ with :
53+ python-version : " 3.8"
54+
55+ - name : " Install dependencies"
56+ run : |
57+ set -xe
58+ python -VV
59+ python -m site
60+ python -m pip install -r requirements/tox.pip
61+
62+ - name : " Tox doc"
63+ run : |
64+ python -m tox -e doc
You can’t perform that action at this time.
0 commit comments