Skip to content

Add Rust tests and a CI workflow#1

Merged
babolivier merged 4 commits intomainfrom
babolivier/tests
Apr 2, 2026
Merged

Add Rust tests and a CI workflow#1
babolivier merged 4 commits intomainfrom
babolivier/tests

Conversation

@babolivier
Copy link
Copy Markdown
Member

According to cargo-tarpaulin, the coverage with these tests is 90%. Most of the lines that aren't being hit are just logs (and a couple of cases that should not be possible in practice but that impossibility isn't trivially translatable in code).

The CI workflow is copied from ews-rs, with the additional --cfg tokio_unstable compiler flag to support the tests in operation_queue.rs (see the comment in that file).

@babolivier babolivier requested a review from a team April 1, 2026 14:47
@babolivier babolivier marked this pull request as ready for review April 1, 2026 14:55
Almost didn't follow my own rule there...
Copy link
Copy Markdown
Contributor

@jtracey jtracey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jtracey jtracey mentioned this pull request Apr 2, 2026
@babolivier babolivier merged commit 0c9dffc into main Apr 2, 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