mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2025-09-09 23:58:42 +00:00
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:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -50,11 +50,8 @@ jobs:
|
|||||||
- name: Install cargo-tarpaulin
|
- name: Install cargo-tarpaulin
|
||||||
run: cargo install cargo-tarpaulin
|
run: cargo install cargo-tarpaulin
|
||||||
|
|
||||||
- name: Code coverage (libmarlin only)
|
- name: Code Coverage (libmarlin only)
|
||||||
run: cargo tarpaulin \
|
run: cargo +nightly tarpaulin --package libmarlin --out Xml --fail-under 85
|
||||||
--package libmarlin \
|
|
||||||
--out Xml \
|
|
||||||
--fail-under 85
|
|
||||||
|
|
||||||
benchmark:
|
benchmark:
|
||||||
name: Performance Benchmark (Hyperfine)
|
name: Performance Benchmark (Hyperfine)
|
||||||
|
Reference in New Issue
Block a user