name: coverage on: [push, pull_request] permissions: {} jobs: coverage: if: github.repository == 'Swatinem/rust-cache' strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] name: Test `cargo-llvm-cov` on ${{ matrix.os }} runs-on: ${{ matrix.os }} env: CARGO_TERM_COLOR: always steps: - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: persist-credentials: false - run: rustup toolchain install stable --profile minimal --component llvm-tools-preview --no-self-update - uses: taiki-e/install-action@25435dc8dd3baed7417e0c96d3fe89013a5b2e09 # v2.81.3 with: tool: cargo-llvm-cov - uses: ./ with: workspaces: tests - run: cargo llvm-cov --all-features --workspace working-directory: tests