Skip to content

Commit

Permalink
Generate coverage report if test with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianMeli committed Oct 30, 2021
1 parent 8c59249 commit 0b4b7ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ jobs:
if: "matrix.use_coverage"
run: "tox -e ${{ matrix.tox_env }}-coverage"

- name: Generate coverge report
- name: Generate coverage report
if: " !matirx.use_coverage"
run: python -m coverage xml

- name: Upload coverage to Codecov
Expand Down

0 comments on commit 0b4b7ad

Please sign in to comment.