src/tools/rust-analyzer/.github/workflows/coverage.yaml YAML 45 lines View on github.com → Search inside
1name: Coverage23on: [pull_request, push]45env:6  CARGO_INCREMENTAL: 07  CARGO_NET_RETRY: 108  CI: 19  RUST_BACKTRACE: short10  RUSTUP_MAX_RETRIES: 101112jobs:13  coverage:14    runs-on: ubuntu-latest15    steps:16      - uses: actions/checkout@v61718      - name: Install Rust toolchain19        run: |20          rustup update --no-self-update nightly21          rustup default nightly22          rustup component add --toolchain nightly rust-src rustc-dev rustfmt23          # We also install a nightly rustfmt, because we use `--file-lines` in24          # a test.25          rustup toolchain install nightly --profile minimal --component rustfmt2627          rustup toolchain install nightly --component llvm-tools-preview2829      - name: Install cargo-llvm-cov30        uses: taiki-e/install-action@cargo-llvm-cov3132      - name: Install nextest33        uses: taiki-e/install-action@nextest3435      - name: Generate code coverage36        run: cargo llvm-cov --workspace --lcov --output-path lcov.info3738      - name: Upload coverage to Codecov39        uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.040        with:41          files: lcov.info42          fail_ci_if_error: false43          token: ${{ secrets.CODECOV_TOKEN }}44          verbose: true

Findings

✓ No findings reported for this file.

Get this view in your editor

Same data, no extra tab — call code_get_file + code_get_findings over MCP from Claude/Cursor/Copilot.