Skip to content

Commit

Permalink
ci: Upload raw coverage information (#1044)
Browse files Browse the repository at this point in the history
For simpler debug upload rav coverage information

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
- Improved CI/CD pipeline by adding a step to upload coverage reports,
enhancing visibility into code quality metrics.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
Czaki authored Dec 8, 2023
1 parent 20eff89 commit fa5f9cd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/base_test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,22 @@ jobs:
./report-*.json
retention-days: 7

- uses: actions/upload-artifact@v3
- name: Upload coverage report ${{ inputs.tox_args }}
uses: actions/upload-artifact@v3
if: ${{ inputs.coverage }}
with:
name: coverage_report ${{ inputs.tox_args }}
path: |
./htmlcov
retention-days: 7

- name: Upload coverage raw data
uses: actions/upload-artifact@v3
with:
name: coverage_raw ${{ inputs.tox_args }}
path: ./coverage.xml
retention-days: 7

- uses: codecov/codecov-action@v3
if: ${{ inputs.coverage }}
with:
Expand Down

0 comments on commit fa5f9cd

Please sign in to comment.