Skip to content

Commit bd281d9

Browse files
committed
Document CODECOV_TOKEN requirement in README
Add note explaining that codecov-action@v4+ requires a CODECOV_TOKEN for uploading coverage reports. Includes reference to authoritative Codecov documentation for token setup. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 449277f commit bd281d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ The last step of this process happens in the CI, where we upload both coverage
9999
files to CodeCov. [Merging reports](https://docs.codecov.com/docs/merging-reports)
100100
is an automatic feature of CodeCov, so the final view shows the combined view.
101101

102+
**Note:** Starting with `codecov-action@v4`, a `CODECOV_TOKEN` is required for
103+
uploading coverage reports. Add your token to GitHub repository secrets (see
104+
[Adding the Codecov token](https://docs.codecov.com/docs/adding-the-codecov-token))
105+
and reference it in the workflow with `token: ${{ secrets.CODECOV_TOKEN }}`.
106+
102107
# Excluding code from coverage
103108

104109
The `#[pymodule]` initialization function in `src/lib.rs` is surrounded by

0 commit comments

Comments
 (0)