ockam
ockam copied to clipboard
Try to speed up CI by splitting testing of crates
Rust - Test & Rust - Nightly Test jobs take significantly more time than the other jobs in the Rust workflow.
It would be interesting to try if we had one job per crate that did this.
cd implementation/rust/ockam/{crate_name} && cargo test
And the rust workflow ran them in parallel.
Would it speed up time spent in CI?
Would you mind assigning this task to me?
@Shreyan11 that would be amazing. Thank you for picking it up 🙏
nextest prints a nice report https://github.com/build-trust/ockam/issues/2924 and I noticed that a big chunk of time spent in the Rust Test job is spent testing our examples, so splitting that into a separate job/s should reduce time significantly https://github.com/build-trust/ockam/tree/develop/examples/rust
@metaclips should we close this?
No, we still limit concurrency when running the examples, we will need to revisit the example code.
I am closing this issue in favour of https://github.com/build-trust/ockam/issues/3619 and https://github.com/build-trust/ockam/issues/3005