diff --git a/ci/coverage.sh b/ci/coverage.sh index b78d97fb..d78ff469 100644 --- a/ci/coverage.sh +++ b/ci/coverage.sh @@ -26,10 +26,10 @@ fi cargo llvm-cov clean --workspace -# 1. Unit tests for the GUI and the artifact/flash/CLI crates. +# 1. Unit tests for the GUI and all first-party headless crates. cargo llvm-cov --no-report "${CARGO_FLAGS[@]}" -p alkane-gui --bin alkane-toolkit cargo llvm-cov --no-report "${CARGO_FLAGS[@]}" \ - -p alkane-artifacts -p alkane-flash -p alkane-cli + --workspace --exclude alkane-gui --exclude wx-rs # 2. Headless UI self-test, under the same instrumentation, its coverage appended. xvfb-run -a env GDK_BACKEND=x11 ALKANE_SELFTEST=1 \