File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,27 @@ on: [push, pull_request]
3
3
4
4
jobs :
5
5
ci :
6
+ name : Run tests
7
+ env :
8
+ TOXENV : py38-coverage
6
9
runs-on : windows-latest
7
10
steps :
8
11
- uses : actions/checkout@v2
9
12
- uses : actions/setup-python@v1
10
- - run : pip install tox
13
+ - name : Install tox
14
+ run : |
15
+ python -m pip install --upgrade pip
16
+ pip install tox
11
17
- name : Run tests
12
18
run : tox
13
19
env :
14
20
PYTEST_ADDOPTS : ' -vv'
21
+ - name : Generate coverage report
22
+ run : |
23
+ .tox/$TOXENV/bin/coverage report -m
24
+ .tox/$TOXENV/bin/coverage xml
25
+ # TODO: Set secrets.CODECOV_TOKEN from repositroy settings and uncomment this
26
+ # - uses: codecov/codecov-action@v1
27
+ # with:
28
+ # token: ${{ secrets.CODECOV_TOKEN }}
29
+ # yml: .codecov.yml
You can’t perform that action at this time.
0 commit comments