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@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 with: persist-credentials: false - run: rustup toolchain install stable --profile minimal --component llvm-tools-preview --no-self-update - uses: taiki-e/install-action@537c30d2b45cc3aa3fb35e2bbcfb61ef93fd6f02 # v2.62.52 with: tool: cargo-llvm-cov - uses: ./ with: workspaces: tests - run: cargo llvm-cov --all-features --workspace working-directory: tests