diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db43d76..f267bcc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,8 +91,27 @@ jobs: - uses: dtolnay/rust-toolchain@v1 with: toolchain: ${{ matrix.toolchain }} - - - run: cargo test --all-features + components: llvm-tools + - run: cargo build --all-features + - name: Run tests + run: cargo test --all-features + env: + CARGO_INCREMENTAL: '0' + RUSTFLAGS: '-Cinstrument-coverage' + - name: rust-grcov + # You may pin to the exact commit or the version. + # uses: actions-rs/grcov@bb47b1ed7883a1502fa6875d562727ace2511248 + uses: actions-rs/grcov@v0.1 + - name: Codecov + # You may pin to the exact commit or the version. + # uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 + uses: codecov/codecov-action@v3 + with: + # Repository upload token - get it from codecov.io. Required only for private repositories + # token: # optional + # Specify whether the Codecov output should be verbose + verbose: true + fail_ci_if_error: true #################