pyo3 icon indicating copy to clipboard operation
pyo3 copied to clipboard

Run tests on CI with cargo-nextest

Open messense opened this issue 3 years ago • 3 comments
trafficstars

https://github.com/nextest-rs/nextest

Try it out to see if it can help speeding up CI runs.

messense avatar Mar 20 '22 06:03 messense

test marker::tests::test_acquire_gil ... FAILED

https://github.com/PyO3/pyo3/blob/b8dd626194cc97ad878adc7b45d6098e760ac05a/src/marker.rs#L993-L1010

This one seems problematic with cargo-nextest.

https://nexte.st/book/how-it-works.html

messense avatar Mar 20 '22 06:03 messense

Last time I checked, nextest did not support and run doctests. So you'd have to add "cargo test --doc" as a separate step?

birkenfeld avatar Mar 20 '22 07:03 birkenfeld

Last time I checked, nextest did not support and run doctests. So you'd have to add "cargo test --doc" as a separate step?

In that case I think we should wait for https://github.com/nextest-rs/nextest/issues/16, otherwise the added cargo test --doc steps might just slow things down and make the CI setup more complex.

messense avatar Mar 20 '22 07:03 messense