-
Notifications
You must be signed in to change notification settings - Fork 75
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(test): use cargo nextest to speed up the test #30
Conversation
Would you mind explaining why |
The original While https://github.com/pan93412/crypto-crawler-rs/runs/7254465565?check_suite_focus=true Sorry for forgot pasting the actions link here. |
@soulmachine The |
|
blocking: nextest-rs/nextest#158 (comment) |
Got it , let's wait for a few days. The goal here is to make |
No 429 issues anymore; however, some tests did not still passed. Bitmex
Others
Seems all of them should not be related to this PR. |
Hi @pan93412 , thank you for the hard work, we're closer! I'll help you investigate these failed test cases. |
@pan93412 can you give me push access to |
@pan93412 To make all tests pass, please comment out line 59 and 71 of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally, all cases passed
* ci(test): use cargo nextest to speed up the test * ci: separate test to doc-test and nextest * fix(ci/test): slow down the test speed * fix(ci): slow down the bitmex tests * Formatted ci.yml Co-authored-by: Frank Dai <soulmachine@gmail.com>
Why introducing this change?
The current
cargo test
is so slow that can't complete the CI in a reasonable period.The features of Nextest
Reuse builds and partition test runs across multiple CI jobs. (Check out this example on GitHub Actions).
Print failing output at the end of test runs.
... and more coming soon!
Source: https://nexte.st
Why separating
nextest
anddoctest
?cargo nextest
hasn't supported doctest.cargo nextest
seems currently failed socargo test --doc
can't be run.