Skip to content

tests: run in parallel#965

Merged
henryiii merged 5 commits intowntrblm:mainfrom
henryiii:henryiii/tests/parallel
Apr 17, 2026
Merged

tests: run in parallel#965
henryiii merged 5 commits intowntrblm:mainfrom
henryiii:henryiii/tests/parallel

Conversation

@henryiii
Copy link
Copy Markdown
Collaborator

@henryiii henryiii commented May 3, 2025

You can run in serial with -- -n0.

Nice little timesave in CI, but have to make sure tests are isolated (such as ones that fight for making a .nox dir in the same place).

For some reason, this seems to sometimes corrupt coverage. Needs to be reliable before we can merge.

@henryiii henryiii force-pushed the henryiii/tests/parallel branch 4 times, most recently from ad5cfc7 to 7900590 Compare May 4, 2025 04:49
@henryiii henryiii force-pushed the henryiii/tests/parallel branch 5 times, most recently from 5d11383 to 5529e47 Compare May 7, 2025 16:40
@henryiii henryiii mentioned this pull request Oct 13, 2025
@henryiii henryiii force-pushed the henryiii/tests/parallel branch 3 times, most recently from 67d49a1 to 6bf0120 Compare October 14, 2025 15:12
@henryiii henryiii marked this pull request as draft October 14, 2025 21:39
@henryiii henryiii force-pushed the henryiii/tests/parallel branch 4 times, most recently from 99a72c3 to 1fcdd0e Compare November 13, 2025 13:18
@henryiii henryiii marked this pull request as ready for review November 13, 2025 13:39
Comment thread noxfile.py Outdated
@henryiii
Copy link
Copy Markdown
Collaborator Author

Conda on windows:

75.29s call     tests/test_virtualenv.py::test_condaenv_create
45.79s call     tests/test_virtualenv.py::test_reuse_conda_environment
42.85s call     tests/test_virtualenv.py::test_condaenv_create_interpreter
32.60s call     tests/test_virtualenv.py::test_stale_environment[conda-virtualenv-False]
29.08s call     tests/test_virtualenv.py::test_condaenv_detection

Wow...

Comment thread .github/workflows/ci.yml
@henryiii henryiii force-pushed the henryiii/tests/parallel branch 2 times, most recently from 656a2cd to 89267cc Compare November 13, 2025 16:29
Comment thread pyproject.toml Outdated
Comment thread noxfile.py Outdated
Comment thread noxfile.py
@henryiii henryiii force-pushed the henryiii/tests/parallel branch from 2008d70 to acc56a8 Compare February 6, 2026 23:10
@henryiii henryiii force-pushed the henryiii/tests/parallel branch from acc56a8 to b52e653 Compare April 9, 2026 21:46
@henryiii henryiii force-pushed the henryiii/tests/parallel branch 3 times, most recently from e80fed5 to 4981a75 Compare April 16, 2026 18:48
henryiii and others added 5 commits April 16, 2026 17:31
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

Apply suggestion from @henryiii
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>

Update pyproject.toml

Update noxfile.py

Apply suggestion from @henryiii
@henryiii henryiii force-pushed the henryiii/tests/parallel branch from 4981a75 to 2d7c2ce Compare April 16, 2026 21:31
@henryiii henryiii merged commit 71eb524 into wntrblm:main Apr 17, 2026
18 checks passed
@henryiii henryiii deleted the henryiii/tests/parallel branch April 17, 2026 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant