Skip to content

Commit 27ffd74

Browse files
committed
Upgrade CI for cargo-llvm-cov 0.5.0
1 parent 374c73b commit 27ffd74

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,6 @@ jobs:
381381
profile: minimal
382382
toolchain: nightly
383383
override: true
384-
components: llvm-tools-preview
385384

386385
- name: Install cargo-llvm-cov
387386
run: |
@@ -390,9 +389,9 @@ jobs:
390389
- name: Generate coverage report
391390
run: |
392391
cargo llvm-cov clean --workspace
393-
cargo llvm-cov --no-report --all-features -- --test-threads=1
394-
RUSTFLAGS="--cfg __ui_tests" cargo llvm-cov --no-report --tests --all-features -- compile_fail
395-
cargo llvm-cov --no-run --lcov > lcov.txt
392+
cargo llvm-cov test --no-report --all-features -- --test-threads=1
393+
RUSTFLAGS="--cfg __ui_tests" cargo llvm-cov test --no-report --tests --all-features -- compile_fail
394+
cargo llvm-cov report --lcov > lcov.txt
396395
397396
- name: Upload coverage report
398397
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)