Skip to content

Commit ca59b59

Browse files
committed
build: Exclude dev-only crates from code coverage
Signed-off-by: Dmitry Dygalo <[email protected]>
1 parent 9e7a648 commit ca59b59

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,18 @@ jobs:
173173
uses: taiki-e/install-action@cargo-llvm-cov
174174

175175
- name: Run tests
176-
run: cargo llvm-cov --no-report --all-features --workspace --exclude jsonschema-py
176+
run: |
177+
cargo llvm-cov --no-report --all-features --workspace \
178+
--exclude jsonschema-py \
179+
--exclude benchmark \
180+
--exclude benchmark-suite \
181+
--exclude jsonschema-testsuite \
182+
--exclude jsonschema-testsuite-codegen \
183+
--exclude jsonschema-testsuite-internal \
184+
--exclude jsonschema-referencing-testsuite \
185+
--exclude jsonschema-referencing-testsuite-codegen \
186+
--exclude jsonschema-referencing-testsuite-internal \
187+
--exclude testsuite-common
177188
178189
- name: Generate coverage reports
179190
run: cargo llvm-cov report --lcov --output-path lcov.info

0 commit comments

Comments
 (0)