Skip to content

Commit 4e2703a

Browse files
kariyclaude
andauthored
ci: exclude db-compat-test from test job builds (#286)
## Summary - Excludes `db-compat-test` crate from being built in the test job - Reduces unnecessary build time since this crate is not executed by the test harness ## Changes Added `--exclude db-compat-test` flag to both test commands in the workflow: - Regular test run (`cargo nextest run`) - Code coverage test run (`cargo llvm-cov nextest`) This optimization skips building a crate that isn't used during testing, improving CI efficiency. 🤖 Generated with [Claude Code](https://claude.ai/code) --- Co-authored-by: Claude <noreply@anthropic.com>
1 parent c04d689 commit 4e2703a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ jobs:
199199
- name: Run tests
200200
if: github.event_name != 'pull_request'
201201
run: |
202-
cargo nextest run --all-features --workspace --exclude snos-integration-test --build-jobs 20
202+
cargo nextest run --all-features --workspace --exclude snos-integration-test --exclude db-compat-test --build-jobs 20
203203
204204
- name: Run tests w/ code coverage
205205
if: github.event_name == 'pull_request'
206206
run: |
207-
cargo llvm-cov nextest --no-report --all-features --workspace --exclude snos-integration-test --build-jobs 20
207+
cargo llvm-cov nextest --no-report --all-features --workspace --exclude snos-integration-test --exclude db-compat-test --build-jobs 20
208208
cargo llvm-cov report --lcov --output-path lcov.info
209209
210210
- name: Upload code coverage

0 commit comments

Comments
 (0)