Skip to content

Commit

Permalink
debug coverage xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Lehmann committed Oct 6, 2023
1 parent 496572f commit 70cd1cf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/PublishCoverageResults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,20 @@ jobs:
run: |
mkdir -p coverage
find . -type f -name ".coverage" -exec sh -c 'cp -v $0 "coverage/$(basename $0).$(basename $(dirname $0))"' {} ';'
ls -lAh coverage
tree -a coverage
- name: Combine SQLite files (using Coverage.py)
# if: inputs.coverage_xml_artifact != ''
run: |
coverage combine coverage/
pwd
ls -lAh .coverage
tree -a .
cp .coverage tests/
- name: Convert to XML format (Cobertura)
# if: inputs.coverage_xml_artifact != ''
run: coverage xml --data-file=.coverage
run: coverage xml --data-file=tests/.coverage

- name: Convert to JSON format
# if: inputs.coverage_json_artifact != ''
Expand Down

0 comments on commit 70cd1cf

Please sign in to comment.