Skip to content

Commit 0d67106

Browse files
authored
coverall: bump rustc nightly version (#27)
Problem: `zeroize` bumped the MSRV to 1.60, it makes 2021 nightly incompatible. However, the newest `rustc` versions have a profile coverage regression: rust-lang/rust#100125 To keep a positive coverage >84%: - ignore comment sections - ignore `src/error.rs`
1 parent 37d60d7 commit 0d67106

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/rust.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- uses: actions/checkout@v2
3535
- name: Select Rust nightly build
36-
run: rustup default nightly-2021-11-11
36+
run: rustup default nightly
3737
- name: Test with profiling
3838
env:
3939
CARGO_INCREMENTAL: 0
@@ -51,9 +51,10 @@ jobs:
5151
- name: Run grcov
5252
run: |
5353
mkdir coverage
54-
./grcov ./target/debug/ -s . -t lcov --llvm --branch --ignore-not-existing --ignore "/*" \
55-
--excl-line '#\[|=> panic!|unreachable!|Io\(std::io::Error\)' \
56-
--excl-br-line '#\[|=> panic!|unreachable!|assert_..!' -o ./coverage/lcov.info
54+
./grcov ./target/debug/ -s . -t lcov --llvm --branch --ignore-not-existing \
55+
--ignore "/*" --ignore "src/error.rs" \
56+
--excl-line '#\[|=> panic!|unreachable!|Io\(std::io::Error\)|//!|///|^[ }]*$' \
57+
--excl-br-line '#\[|=> panic!|unreachable!|assert_..!|//!|///' -o ./coverage/lcov.info
5758
- name: Send to Coveralls
5859
uses: coverallsapp/github-action@master
5960
with:

0 commit comments

Comments
 (0)