From a68b4fd518e556b42020b0f150b23af140ef6459 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Mon, 6 Oct 2025 17:12:42 +0200 Subject: [PATCH] codecov try to fix __rust_probestack --- .github/workflows/codecov.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 400c0a4..9613403 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -16,21 +16,23 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Set up Rust - uses: dtolnay/rust-toolchain@stable + uses: actions-rs/toolchain@v1 with: - toolchain: stable - components: llvm-tools-preview + toolchain: nightly + override: true - name: Install system deps run: sudo apt-get update && sudo apt-get install -y build-essential clang lld - - name: Run tests + - name: Build with coverage run: | - cargo build --all-features - cargo test --all-features + export RUSTFLAGS="-C instrument-coverage" + cargo clean + cargo build + cargo test - name: Install grcov run: cargo install grcov