Commit cc70f5c
authored
ci: Switch from coverage comments to codecov.io (#78)
## Summary
Replaces the current coverage comment system with codecov.io integration
for better coverage tracking and open source best practices.
## Changes
### Removed:
- `irongut/CodeCoverageSummary` action that generates markdown summaries
- `marocchino/sticky-pull-request-comment` action that posts PR comments
### Added:
- `codecov/codecov-action@v4` to upload coverage data to codecov.io
- Configured with `fail_ci_if_error: false` for graceful handling
- Uses existing coverage.xml from pytest
## Benefits
✅ **Professional coverage reporting** with codecov.io dashboard
✅ **Coverage badges** for README
✅ **Coverage trend tracking** over time
✅ **Better open source integration** - standard for OSS projects
✅ **No more PR comment spam** - cleaner PR experience
✅ **Free for open source** projects
## Setup Required
After merging, you'll need to:
1. **Visit [codecov.io](https://codecov.io)** and sign in with GitHub
2. **Enable the batfish/lab-validation repository**
3. **Add coverage badge** to README (optional)
No additional secrets or configuration needed - codecov-action works
automatically for public repos.
## Testing
This PR tests the new codecov integration. The coverage data should be
uploaded to codecov.io when the CI runs.1 parent b4be1aa commit cc70f5c
1 file changed
Lines changed: 9 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
51 | | - | |
52 | | - | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
70 | 61 | | |
71 | 62 | | |
72 | 63 | | |
| |||
0 commit comments