Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Run most tests with miri #961

Merged
merged 1 commit into from
Jul 1, 2024
Merged

ci: Run most tests with miri #961

merged 1 commit into from
Jul 1, 2024

Conversation

jswrenn
Copy link
Member

@jswrenn jswrenn commented Jun 29, 2024

This PR additionally reduces the size of some heavy tests to reduce their running time. I don't think these reductions will hinder their bug-detecting power too much.

Copy link
Member

@Philippe-Cholet Philippe-Cholet left a comment

Choose a reason for hiding this comment

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

I note that you use nextest which does not run doctests while we could want to run miri on some of them?

This PR additionally reduces the size of some heavy tests to
reduce their running time. We use nextest as our runner because it
runs tests in parallel. However, since nextest does not currenlty
run doc tests, we also run those separately.
@jswrenn
Copy link
Member Author

jswrenn commented Jun 29, 2024

Looks like this issue is tracked by nextest-rs/nextest#16. I'm using nextest because it, unlike miri's default test runner, runs tests in parallel. The speedup is significant.

Until nextest gets doctest support, we'll just run the doc tests separately.

@jswrenn jswrenn added this pull request to the merge queue Jul 1, 2024
Merged via the queue into master with commit 1c850ce Jul 1, 2024
12 checks passed
@jswrenn jswrenn deleted the miri branch July 1, 2024 14:06
@Philippe-Cholet Philippe-Cholet added this to the next milestone Jul 1, 2024
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