Skip to content

Run library unit tests in check pipeline#19

Merged
amackillop merged 1 commit into
masterfrom
austin_run-lib-tests
May 13, 2026
Merged

Run library unit tests in check pipeline#19
amackillop merged 1 commit into
masterfrom
austin_run-lib-tests

Conversation

@amackillop
Copy link
Copy Markdown
Contributor

The nextest filter --bin mdkd only compiles tests under the mdkd binary target and skips every #[cfg(test)] mod tests in the mdk library crate (src/lib.rs and its module tree). Switching to --lib --bin mdkd adds the lib tests without pulling in tests/integration.rs, which needs VSS + Postgres and runs under just integration-test instead.

The nextest filter `--bin mdkd` only compiles tests under the `mdkd`
binary target and skips every `#[cfg(test)] mod tests` in the `mdk`
library crate (src/lib.rs and its module tree). Switching to
`--lib --bin mdkd` adds the lib tests without pulling in
`tests/integration.rs`, which needs VSS + Postgres and runs under
`just integration-test` instead.
@amackillop amackillop requested a review from martinsaposnic May 13, 2026 17:51
@amackillop amackillop merged commit 12ae517 into master May 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants