Skip to content

Commit c3d9855

Browse files
update badge URLs and CI token
1 parent 53551d2 commit c3d9855

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ jobs:
4545
maturin develop
4646
pytest tests --cov=foobar --cov-report lcov:python-coverage.lcov
4747
cargo llvm-cov report --lcov --output-path rust-coverage.lcov
48-
- uses: codecov/codecov-action@v3
48+
- name: Upload results to Codecov
49+
uses: codecov/codecov-action@v4
4950
with:
5051
files: python-coverage.lcov,rust-coverage.lcov
5152
name: ${{ matrix.os }}
53+
token: ${{ secrets.CODECOV_TOKEN }}
54+

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
# rust-python-coverage
1818
Example PyO3 project with automated test coverage for Rust and Python
1919

20-
[![CI](https://github.com/cjermain/rust-python-coverage/actions/workflows/CI.yml/badge.svg)](https://github.com/cjermain/rust-python-coverage/actions/workflows/CI.yml)
21-
[![codecov](https://codecov.io/gh/cjermain/rust-python-coverage/branch/main/graph/badge.svg?token=NWHDJ22L8I)](https://codecov.io/gh/cjermain/rust-python-coverage)
20+
[![CI](https://github.com/Michael-J-Ward/rust-python-coverage/actions/workflows/CI.yml/badge.svg)](https://github.com/Michael-J-Ward/rust-python-coverage/actions/workflows/CI.yml)
21+
[![codecov](https://codecov.io/github/Michael-J-Ward/rust-python-coverage/graph/badge.svg?token=K4T59SGTQX)](https://codecov.io/github/Michael-J-Ward/rust-python-coverage)
2222

2323
This repository shows how to set up a continuous-integration job for measuring
2424
coverage over a project using [PyO3](https://github.com/PyO3/pyo3). Based on
@@ -129,8 +129,7 @@ The last step of this process happens in the CI, where we upload both coverage
129129
files to CodeCov. [Merging reports](https://docs.codecov.com/docs/merging-reports)
130130
is an automatic feature of CodeCov, so the final view shows the combined view.
131131
132-
https://codecov.io/gh/cjermain/rust-python-coverage
133-
132+
https://codecov.io/github/Michael-J-Ward/rust-python-coverage
134133
135134
## Appendix
136135

0 commit comments

Comments
 (0)