diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7d293c3..b398f54 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,10 +18,16 @@ jobs: with: toolchain: stable override: true - - name: Run cargo-tarpaulin - uses: actions-rs/tarpaulin@v0.1 - with: - out-type: Lcov + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose + 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' + - name: rust-grcov + uses: actions-rs/grcov@v0.1.5 - name: Coveralls upload uses: coverallsapp/github-action@1.1.3 with: