This repository was archived by the owner on Oct 9, 2026. It is now read-only.
Repository navigation
Move the cross runner helper without rewriting it #21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Coverage | |
| on: [pull_request, push] | |
| jobs: | |
| coverage: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| # v4.2.2 | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| - name: Install Rust | |
| run: rustup toolchain install stable --component llvm-tools-preview | |
| - name: Install cargo-llvm-cov | |
| uses: taiki-e/install-action@ff869c26e4a7acc3087d9d6c1163a80d3957bca7 # cargo-llvm-cov | |
| - name: Generate code coverage | |
| run: cargo +stable llvm-cov --all-features --workspace --lcov --output-path lcov.info | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5 | |
| with: | |
| files: lcov.info | |
| fail_ci_if_error: false |