From 3e4b46f49ec7aa0951fe89ef7e5dbb5967175e09 Mon Sep 17 00:00:00 2001 From: igor-lirussi <69794393+igor-lirussi@users.noreply.github.com> Date: Tue, 27 Jul 2021 15:04:03 +0200 Subject: [PATCH] generate coverage also XML --- .github/workflows/workflow.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index becefc1..4a721df 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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 @@ -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