File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,12 +38,15 @@ jobs:
3838 - name : Install dependencies
3939 run : |
4040 python -m pip install --upgrade pip
41- pip install codecov tox
41+ pip install tox
4242
43- # with " -e py" tox runs the python version of the current environment
43+ # with ' -e py' tox runs the python version of the current environment
4444 - name : Unittests with tox
4545 run : tox -e py
4646
4747 # Coverage does not work for private repos
4848 - name : Upload coverage to Codecov
49- run : codecov
49+ uses : codecov/codecov-action@v3
50+ if : matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest'
51+ with :
52+ files : ./coverage.xml # optional
Original file line number Diff line number Diff line change 99commands =
1010 coverage erase
1111 coverage run -m pytest -svv {posargs:test}
12- coverage report
12+ coverage report -m
13+ coverage xml -o coverage.xml
You can’t perform that action at this time.
0 commit comments