Skip to content

Commit

Permalink
change paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed May 5, 2024
1 parent 20e2876 commit 026d633
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/upload-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,15 @@ jobs:

- name: Combine coverage data
run: |
WORKDIR=$(pwd)
REPO_NAME="${GITHUB_REPOSITORY##*/}"
echo "[paths]" > ci_coveragerc
echo "source =" >> ci_coveragerc
echo " $WORKDIR/src/" >> ci_coveragerc
echo " $WORKDIR/" >> ci_coveragerc
echo " $WORKDIR/src/$REPO_NAME" >> ci_coveragerc
echo " $WORKDIR/$REPO_NAME" >> ci_coveragerc
echo " D:\\a\\$REPO_NAME\\$REPO_NAME" >> ci_coveragerc
echo " D:\\a\\$REPO_NAME\\$REPO_NAME\\src" >> ci_coveragerc
echo " /home/runner/work/$REPO_NAME/$REPO_NAME" >> ci_coveragerc
echo " /home/runner/work/$REPO_NAME/$REPO_NAME/src" >> ci_coveragerc
echo " /Users/runner/work/$REPO_NAME/$REPO_NAME" >> ci_coveragerc
echo " /Users/runner/work/$REPO_NAME/$REPO_NAME/src" >> ci_coveragerc
cat ci_coveragerc
python -Im coverage combine --rcfile=ci_coveragerc covreports
python -Im coverage xml -o coverage.xml
Expand Down

0 comments on commit 026d633

Please sign in to comment.