Skip to content
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: use nextest instead of cargo test #4066

Closed
wants to merge 1 commit into from
Closed

Conversation

link2xt
Copy link
Collaborator

@link2xt link2xt commented Feb 20, 2023

See https://nexte.st/ for the documentation.

@link2xt
Copy link
Collaborator Author

link2xt commented Feb 20, 2023

Maybe not worth it given that it takes some time to install and building the test binaries takes longer than actually testing.

@link2xt
Copy link
Collaborator Author

link2xt commented Feb 20, 2023

Actually, it only takes 3 seconds to install, so does not hurt given that at least locally it saves more than that.

It reports individual test times, which look strange on CI:

        PASS [  13.892s] deltachat accounts::tests::test_accounts_share_translations
        PASS [  24.466s] deltachat accounts::tests::test_accounts_sorted
        PASS [  49.580s] deltachat accounts::tests::test_accounts_ids_unique_increasing_and_persisted

The whole Rust test suite which normally takes 12 seconds on github actions runs for 7 minutes and some tests which should take less than a second pass in tens of seconds. GitHub Actions probably pauses them somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant