Skip to content

ci: use nextest instead of cargo test - #4066

Closed
link2xt wants to merge 1 commit into
masterfrom
link2xt/nextest
Closed

link2xt wants to merge 1 commit into
masterfrom
link2xt/nextest

Conversation

@link2xt

@link2xt link2xt commented Feb 20, 2023

Copy link
Copy Markdown
Collaborator

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

@link2xt

link2xt commented Feb 20, 2023

Copy link
Copy Markdown
Collaborator Author

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

@link2xt

link2xt commented Feb 20, 2023

Copy link
Copy Markdown
Collaborator Author

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