Skip to content

Commit 4ef2c32

Browse files
authored
ci: specify/restrict testing (#1243)
1 parent d147f48 commit 4ef2c32

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/coverage.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ jobs:
3737
- name: Check with clippy
3838
run: cargo hack clippy --verbose --each-feature --no-dev-deps -- -D warnings
3939

40-
- name: Tests
41-
run: cargo hack --each-feature llvm-cov --no-report nextest
40+
- name: Test default feature set
41+
run: cargo hack llvm-cov --no-report nextest
42+
43+
- name: Test kafka feature
44+
run: cargo hack --features kafka llvm-cov --no-report nextest --filter-expr 'test(kafka)'
4245

4346
- name: Generate coverage report
4447
run: cargo llvm-cov report --lcov --output-path coverage.lcov

0 commit comments

Comments
 (0)