mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
github: Simplify the coverage action
This commit is contained in:
parent
ae9b3678df
commit
a8e5549b3f
5
.github/workflows/rust.yml
vendored
5
.github/workflows/rust.yml
vendored
@ -105,13 +105,10 @@ jobs:
|
||||
- name: Install Rust
|
||||
run: rustup toolchain install nightly --component llvm-tools-preview
|
||||
|
||||
- name: Install cargo-llvm-cov
|
||||
run: curl -LsSf https://github.com/taiki-e/cargo-llvm-cov/releases/latest/download/cargo-llvm-cov-x86_64-unknown-linux-gnu.tar.gz | tar xzf - -C ~/.cargo/bin
|
||||
- uses: taiki-e/install-action@cargo-llvm-cov
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
|
||||
- name: clean
|
||||
run: cargo llvm-cov clean --workspace
|
||||
- name: Generate code coverage for unit test
|
||||
run: cargo llvm-cov --workspace --no-report
|
||||
- name: Aggregate reports
|
||||
|
Loading…
Reference in New Issue
Block a user