rust-itertools / itertools

Extra iterator adaptors, iterator methods, free functions, and macros.
https://docs.rs/itertools/
Apache License 2.0
2.71k stars 309 forks source link

ci: Run most tests with miri #961

Closed jswrenn closed 3 months ago

jswrenn commented 3 months ago

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.

jswrenn commented 3 months ago

Looks like this issue is tracked by https://github.com/nextest-rs/nextest/issues/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.