Skip to content

Commit 1d9b9b9

Browse files
committed
Add qa/coverage checks
1 parent eff1584 commit 1d9b9b9

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

.github/workflows/main.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,70 @@ jobs:
2323
env:
2424
TOXENV: python
2525

26+
qa:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v2
30+
- name: Setup Python
31+
uses: actions/setup-python@v2
32+
with:
33+
python-version: 3.9
34+
- name: Install tox
35+
run: |
36+
python -m pip install tox
37+
- name: Run checks
38+
run: tox
39+
env:
40+
TOXENV: qa
41+
42+
coverage:
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: actions/checkout@v2
46+
- name: Setup Python
47+
uses: actions/setup-python@v2
48+
with:
49+
python-version: 3.9
50+
- name: Install tox
51+
run: |
52+
python -m pip install tox
53+
- name: Evaluate coverage
54+
run: tox
55+
env:
56+
TOXENV: cov
57+
58+
diffcov:
59+
runs-on: ubuntu-latest
60+
steps:
61+
- uses: actions/checkout@v2
62+
- name: Setup Python
63+
uses: actions/setup-python@v2
64+
with:
65+
python-version: 3.9
66+
- name: Install tox
67+
run: |
68+
python -m pip install tox
69+
- name: Evaluate coverage
70+
run: tox
71+
env:
72+
TOXENV: diffcov
73+
74+
docs:
75+
runs-on: ubuntu-latest
76+
steps:
77+
- uses: actions/checkout@v2
78+
- name: Setup Python
79+
uses: actions/setup-python@v2
80+
with:
81+
python-version: 3.9
82+
- name: Install tox
83+
run: |
84+
python -m pip install tox
85+
- name: Build docs
86+
run: tox
87+
env:
88+
TOXENV: docs
89+
2690
release:
2791
needs: test
2892
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)