Skip to content

Commit

Permalink
Update manual_code_coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fabawi committed Jan 17, 2024
1 parent 287d3e2 commit 4b76837
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/manual_code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ jobs:
# coverage report --data-file=/tmp/shared_volume/.coverage && \
# coverage xml -o /tmp/shared_volume/coverage.xml --data-file=/tmp/shared_volume/.coverage"

# Step 7: Print out the coverage.xml
- name: Print content of coverage.xml
# Step 7: Modify codecov paths
- name: Modify paths in coverage.xml
run: |
cat ${GITHUB_WORKSPACE}/shared_directory/coverage.xml
sed -i 's|/opt/conda/envs/zeromq_yarp_ros2/lib/python3.10/site-packages/wrapyfi|wrapyfi|g' ${GITHUB_WORKSPACE}/shared_directory/coverage.xml
cat ${GITHUB_WORKSPACE}/shared_directory/coverage.xml # Optional: Print to verify
# Step 8: Upload the coverage report (remains unchanged)
- name: Upload coverage report to Codecov
Expand Down

0 comments on commit 4b76837

Please sign in to comment.