File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -134,12 +134,12 @@ jobs:
134
134
- name : Run tox
135
135
run : poetry run tox run -e py${{ matrix.toxenv-factors }} -s false
136
136
- name : Generate coverage reports
137
+ if : ${{ failure() || success() }}
137
138
shell : bash
138
139
run : |
139
140
set -eux
140
- poetry run coverage report
141
- poetry run coverage xml -o "$REPORTS_DIR/coverage.${{ matrix.os }}_py${{ matrix.python-version }}_${{ matrix.toxenv-factors }}.cobertura.xml"
142
- # poetry run coverage lcov -o "$REPORTS_DIR/coverage.${{ matrix.os }}_py${{ matrix.python-version }}_${{ matrix.toxenv-factors }}.lcov.xml"
141
+ poetry run coverage report -m
142
+ poetry run coverage xml -o '${{ env.REPORTS_DIR }}/coverage/${{ matrix.os }}_py${{ matrix.python-version }}_${{ matrix.toxenv-factors }}.cobertura.xml'
143
143
- name : Artifact reports
144
144
if : ${{ ! cancelled() }}
145
145
# see https://github.com/actions/upload-artifact
@@ -169,7 +169,7 @@ jobs:
169
169
uses : codacy/codacy-coverage-reporter-action@v1
170
170
with :
171
171
project-token : ${{ env.CODACY_PROJECT_TOKEN }}
172
- coverage-reports : ${{ env.REPORTS_DIR }}/coverage.*
172
+ coverage-reports : ${{ env.REPORTS_DIR }}/coverage/*.cobertura.xml
173
173
174
174
examples :
175
175
name : Examples E:${{ matrix.install-extras || '<none>' }}
You can’t perform that action at this time.
0 commit comments