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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false - run: rustup toolchain install stable --profile minimal --component llvm-tools-preview --no-self-update - uses: taiki-e/install-action@9e1e5806d4a4822de933115878265be9aaa786d9 # v2.82.2 with: tool: cargo-llvm-cov - uses: ./ with: workspaces: tests - run: cargo llvm-cov --all-features --workspace working-directory: tests