Skip to content

Run the tests with forkserver on Linux - #4818

Merged
alejoe91 merged 1 commit into
SpikeInterface:mainfrom
h-mayorquin:run_forkserver_on_the_CI_for_linux
Oct 5, 2026
Merged

alejoe91 merged 1 commit into
SpikeInterface:mainfrom
h-mayorquin:run_forkserver_on_the_CI_for_linux

Conversation

@h-mayorquin

Copy link
Copy Markdown
Contributor

In #4422 we agreed that at minimum we should run the tests with forkserver (the default since Python 3.14) so we catch issues like #4469 before release. This PR makes forkserver the default for the tests on Linux, locally and on the CI, while users keep fork.

Note that we make our own tests run on forkserver locally. This is important for us to catch errors. Your normal execution code locally will keep running with fork though and you can still run the tests with fork using pytest --mp-context=fork.

@h-mayorquin h-mayorquin self-assigned this Oct 2, 2026
@h-mayorquin h-mayorquin added core Changes to core module concurrency Related to parallel processing github_actions Pull requests that update GitHub Actions code labels Oct 2, 2026
@alejoe91 alejoe91 added this to the 0.105.1 milestone Oct 5, 2026
@alejoe91
alejoe91 merged commit b0aba19 into SpikeInterface:main Oct 5, 2026
15 checks passed
@h-mayorquin
h-mayorquin deleted the run_forkserver_on_the_CI_for_linux branch October 5, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

concurrency Related to parallel processing core Changes to core module github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants