From e7f5a230e5e298a95c7bfb998295a4665841547e Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Sun, 18 May 2025 21:48:08 -0400 Subject: [PATCH] Run Tarpaulin under nightly toolchain for libmarlin coverage In our GitHub Actions CI, update the Code Coverage step for the `libmarlin` crate to invoke Tarpaulin using the nightly toolchain. This ensures we pick up the latest coverage features and avoid the unexpected argument error: * Replace the two-line `cargo tarpaulin` invocation with a single command using `cargo +nightly tarpaulin --package libmarlin --out Xml --fail-under 85`. * Removes the extraneous line break and aligns with the rest of our Rust commands under nightly when needed. --- .github/workflows/ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ace6abd..099e905 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,11 +50,8 @@ jobs: - name: Install cargo-tarpaulin run: cargo install cargo-tarpaulin - - name: Code coverage (libmarlin only) - run: cargo tarpaulin \ - --package libmarlin \ - --out Xml \ - --fail-under 85 + - name: Code Coverage (libmarlin only) + run: cargo +nightly tarpaulin --package libmarlin --out Xml --fail-under 85 benchmark: name: Performance Benchmark (Hyperfine)