File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 55 push :
66 branches :
77 - main
8+ - julio/codecov
89
910jobs :
1011 build :
3031 uses : qard/heaviest-objects-in-the-universe@v1
3132 with :
3233 github-token : ${{ secrets.GITHUB_TOKEN }}
34+ coverage :
35+ runs-on : ubuntu-latest
36+ env :
37+ CARGO_TERM_COLOR : always
38+ steps :
39+ - uses : actions/checkout@v4
40+ - name : Install Rust
41+ run : rustup update stable
42+ - name : Install cargo-llvm-cov
43+ uses : taiki-e/install-action@cargo-llvm-cov
44+ - name : Generate code coverage
45+ run : cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
46+ - name : Upload coverage to Codecov
47+ uses : codecov/codecov-action@v3
48+ with :
49+ token : ${{ secrets.CODECOV_TOKEN }} # not required for public repos
50+ files : lcov.info
51+ fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments