Repository navigation
Add java.lang.ref weak references and missing Timer and index excepti… #829
Workflow file for this run
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: [push] | |
| jobs: | |
| test: | |
| name: coverage | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Cache cargo | |
| uses: actions/cache@v6 | |
| with: | |
| path: ~/.cargo | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: ${{ runner.os }}-cargo | |
| - name: Cache cargo build | |
| uses: actions/cache@v6 | |
| with: | |
| path: target | |
| key: ${{ runner.os }}-stable-coverage-build-target-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: ${{ runner.os }}-stable-coverage-build-target- | |
| - name: Install cargo-llvm-cov | |
| uses: taiki-e/install-action@cargo-llvm-cov | |
| - name: Generate code coverage | |
| run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info | |
| - name: Upload to codecov.io | |
| uses: codecov/codecov-action@v7 | |
| with: | |
| files: lcov.info | |
| fail_ci_if_error: true | |
| token: ${{ secrets.CODECOV_TOKEN }} |