Skip to content

Commit

Permalink
generate coverage also XML
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-lirussi authored Jul 27, 2021
1 parent 9ddd1e9 commit 3e4b46f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ jobs:
coverage run -m unittest discover -s ./src/test/
coverage html #generate site in htmlcov folder
mv htmlcov coverage_dev #rename folder
coverage xml #generate xml coverage
mv coverage.xml coverage_dev.xml #rename xml
rm -rdf src #remove src folder
- name: Test and build coverage html for main
shell: bash
Expand All @@ -90,6 +92,8 @@ jobs:
coverage run -m unittest discover -s ./src/test/
coverage html #generate site in htmlcov folder
mv htmlcov coverage_main #rename folder
coverage xml #generate xml coverage
mv coverage.xml coverage_main.xml #rename xml
rm -rdf src #remove src folder
- name: Commit changes
shell: bash
Expand Down

0 comments on commit 3e4b46f

Please sign in to comment.