-
Notifications
You must be signed in to change notification settings - Fork 952
Remove cargo test targets, use nextest exclusively #7874
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
Conversation
|
target-branch-check will fail until you rebase on unstable/push a new empty commit (it doesn't recognise changing the branch in the GH UI) |
Removes cargo test-based Make targets (test-release, test-debug, run-ef-tests) and updates aliases to use nextest equivalents. Updates contributing documentation to use nextest examples and fixes example commands that previously suggested non-existing packages. CI workflows are updated to match the new make targets. This resolves contributor workflow inconsistency where local development used cargo test while CI used nextest. Based on benchmarks showing nextest is 1.02x faster than cargo test. Fixes sigp#7835
00e7c38 to
ad3184c
Compare
|
Hmm, CI thinks "nextest" is a misspelled word... idk what to do about this. |
|
add it to wordlist.txt |
|
I think this is ready for merge @michaelsproul |
jimmygchen
left a comment
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.
Nice clean up, thanks @danielrachi1 !
Fixes sigp#7835 - Remove cargo test-based Make targets (`test-release`, `test-debug`, `run-ef-tests`) - Update aliases (`test`, `test-full`, `test-ef`) to use existing nextest equivalents - Update contributing documentation to use nextest examples - Fix example commands that previously referenced non-existing packages (`ssz`/`eth2_ssz`) Co-Authored-By: Daniel Ramirez-Chiquillo <[email protected]>
Fixes sigp#7835 - Remove cargo test-based Make targets (`test-release`, `test-debug`, `run-ef-tests`) - Update aliases (`test`, `test-full`, `test-ef`) to use existing nextest equivalents - Update contributing documentation to use nextest examples - Fix example commands that previously referenced non-existing packages (`ssz`/`eth2_ssz`) Co-Authored-By: Daniel Ramirez-Chiquillo <[email protected]>
Fixes sigp#7835 - Remove cargo test-based Make targets (`test-release`, `test-debug`, `run-ef-tests`) - Update aliases (`test`, `test-full`, `test-ef`) to use existing nextest equivalents - Update contributing documentation to use nextest examples - Fix example commands that previously referenced non-existing packages (`ssz`/`eth2_ssz`) Co-Authored-By: Daniel Ramirez-Chiquillo <[email protected]>
Issue Addressed
Fixes #7835
Proposed Changes
test-release,test-debug,run-ef-tests)test,test-full,test-ef) to use existing nextest equivalentsssz/eth2_ssz)Additional Info
This resolves the contributor workflow inconsistency identified in #7835 where local development used cargo test while CI used nextest. While benchmarks showed nextest is only marginally faster (1.02x), the key benefit is consistency - having contributors use the same test runner as CI eliminates confusion and potential discrepancies between local development and CI results.
The decision prioritizes workflow consistency over the minimal performance difference, ensuring a unified testing approach across the project.
Testing performed:
make --dry-run test)cargo nextest run -p safe_arith)make cargo-fmt)