From 05e0d65db2a5c1dbdff78e09a9b3ab5b2e98a085 Mon Sep 17 00:00:00 2001 From: Brad Edwards Date: Thu, 2 Jan 2025 08:41:26 +0000 Subject: [PATCH] Update workflow to test all crates in crates/cs --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d9aeee..03cdcdd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,10 @@ jobs: - name: Generate coverage report run: | cargo install cargo-llvm-cov - cargo llvm-cov --manifest-path crates/cs/blocks-cs-core/Cargo.toml --lcov --output-path lcov.info + for toml in $(find crates/cs -name "Cargo.toml"); do + echo "Running tests for $toml" + cargo llvm-cov --manifest-path $toml --lcov --output-path lcov.info + done - name: Check coverage run: | bash <(curl -s https://codecov.io/bash) -f lcov.info