update grcov yml
@@ -8,24 +8,23 @@ jobs:
coverage:
name: Code Coverage
runs-on: ubuntu-latest
- env:
- CARGO_INCREMENTAL: '0'
- RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
- RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
steps:
- - uses: actions/checkout@v2
-
- - name: Install Rust
- uses: actions-rs/toolchain@v1
- id: toolchain
+ - uses: actions/checkout@v1
+ - uses: actions-rs/toolchain@v1
with:
- toolchain: nightly-2020-12-29
+ toolchain: nightly
override: true
-
- - name: Run cargo test
- uses: actions-rs/cargo@v1
+ - uses: actions-rs/cargo@v1
+ with:
+ command: clean
+ - uses: actions-rs/cargo@v1
with:
command: test
+ args: --all-features --no-fail-fast
+ env:
+ CARGO_INCREMENTAL: '0'
+ RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
+ RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
- uses: actions-rs/grcov@v0.1
id: coverage
