mirror of
https://github.com/Swatinem/rust-cache
synced 2025-08-09 23:00:52 +00:00
add some more tests
This commit is contained in:
parent
86bae2494f
commit
fffd6895b2
12 changed files with 185 additions and 1057 deletions
30
.github/workflows/coverage.yml
vendored
Normal file
30
.github/workflows/coverage.yml
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
name: coverage
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
coverage:
|
||||
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@v2
|
||||
|
||||
- run: rustup toolchain install stable --profile minimal --component llvm-tools-preview
|
||||
|
||||
- uses: taiki-e/install-action@cargo-llvm-cov
|
||||
|
||||
- uses: ./
|
||||
with:
|
||||
workspaces: tests
|
||||
|
||||
- run: cargo llvm-cov --all-features --workspace
|
||||
working-directory: tests
|
Loading…
Add table
Add a link
Reference in a new issue