Commit 54af02c
Add code coverage (#8)
* Add code coverage support to PR build workflow
- Add coverageThreshold and coverageReportFormats input parameters
- Enhance test step to collect XPlat Code Coverage data
- Integrate Codecov for coverage report uploads
- Add CodeCoverageSummary action for markdown reports with badges
- Include sticky PR comments for coverage visibility
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Remove Codecov upload step from coverage workflow
- Remove codecov/codecov-action@v4 step that required token
- Keep GitHub-native coverage summary and PR comments
- Simplifies workflow by removing external dependency
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Add test reporting and artifact upload for coverage
- Add dorny/test-reporter for GitHub-native test result display
- Keep artifact upload as backup coverage report access
- Replace problematic PR comment approach with better alternatives
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Remove problematic test reporter step
- Remove dorny/test-reporter that also had permission issues
- Keep only coverage summary and artifact upload
- Simplify workflow to avoid GitHub permission problems
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Make code coverage optional based on threshold value
- Add separate test step for when coverage is disabled (threshold = 0)
- Update coverage-related steps to only run when threshold > 0
- Allows projects to run tests without coverage overhead when not needed
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent aa38ed3 commit 54af02c
1 file changed
+46
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
60 | 70 | | |
61 | 71 | | |
62 | 72 | | |
| |||
98 | 108 | | |
99 | 109 | | |
100 | 110 | | |
101 | | - | |
102 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
103 | 147 | | |
104 | 148 | | |
105 | 149 | | |
| |||
0 commit comments