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.
This commit is contained in:
thePR0M3TH3AN
2025-05-18 21:48:08 -04:00
parent a7660df45f
commit e7f5a230e5

View File

@@ -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)