From 13a24b744ab0dfeb02481ada423c1b1e7928017b Mon Sep 17 00:00:00 2001 From: Devdutt Shenoi Date: Sun, 16 Mar 2025 20:02:34 +0530 Subject: [PATCH] ci: specify/restrict testing --- .github/workflows/coverage.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index b2ff61cb9..873052bf8 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -37,8 +37,11 @@ jobs: - name: Check with clippy run: cargo hack clippy --verbose --each-feature --no-dev-deps -- -D warnings - - name: Tests - run: cargo hack --each-feature llvm-cov --no-report nextest + - name: Test default feature set + run: cargo hack llvm-cov --no-report nextest + + - name: Test kafka feature + run: cargo hack --features kafka llvm-cov --no-report nextest --filter-expr 'test(kafka)' - name: Generate coverage report run: cargo llvm-cov report --lcov --output-path coverage.lcov