File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 45
45
maturin develop
46
46
pytest tests --cov=foobar --cov-report lcov:python-coverage.lcov
47
47
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
49
50
with :
50
51
files : python-coverage.lcov,rust-coverage.lcov
51
52
name : ${{ matrix.os }}
53
+ token : ${{ secrets.CODECOV_TOKEN }}
54
+
Original file line number Diff line number Diff line change 17
17
# rust-python-coverage
18
18
Example PyO3 project with automated test coverage for Rust and Python
19
19
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 )
22
22
23
23
This repository shows how to set up a continuous-integration job for measuring
24
24
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
129
129
files to CodeCov. [Merging reports](https://docs.codecov.com/docs/merging-reports)
130
130
is an automatic feature of CodeCov, so the final view shows the combined view.
131
131
132
- https://codecov.io/gh/cjermain/rust-python-coverage
133
-
132
+ https://codecov.io/github/Michael-J-Ward/rust-python-coverage
134
133
135
134
## Appendix
136
135
You can’t perform that action at this time.
0 commit comments