Skip to content

Commit 0b4b7ad

Browse files
committed
Generate coverage report if test with coverage
1 parent 8c59249 commit 0b4b7ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ jobs:
165165
if: "matrix.use_coverage"
166166
run: "tox -e ${{ matrix.tox_env }}-coverage"
167167

168-
- name: Generate coverge report
168+
- name: Generate coverage report
169+
if: " !matirx.use_coverage"
169170
run: python -m coverage xml
170171

171172
- name: Upload coverage to Codecov

0 commit comments

Comments
 (0)