Skip to content

Unify tests and test scripts - #289

Merged
alejoe91 merged 6 commits into
SpikeInterface:mainfrom
alejoe91:refactor-tests
Nov 9, 2026
Merged

alejoe91 merged 6 commits into
SpikeInterface:mainfrom
alejoe91:refactor-tests

Conversation

@alejoe91

@alejoe91 alejoe91 commented Nov 9, 2026

Copy link
Copy Markdown
Member

The tests folder was wild! This PR cleans it up and adds a proper CI

@alejoe91
alejoe91 requested a review from chrishalcrow November 9, 2026 11:55
def _create_analyzer(sorting, recording, folder, extensions):
"""extensions: list of (name or list of names, params), computed in order"""
sorting_analyzer = si.create_sorting_analyzer(sorting, recording, format="binary_folder",
folder=folder, **_job_kwargs)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
folder=folder, **_job_kwargs)
folder=folder, job_kwargs=_job_kwargs)

To avoid the warning introduces in SpikeInterface/spikeinterface#4677

)


@pytest.fixture(scope="session")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Code anarchists are very welcome. So in this mess, persona non grata: pre-commit, black, pytest fixture, ..."

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

he lost a battle, but not the war

Comment thread .gitignore
@@ -1,5 +1,4 @@
spikeinterface_gui/tests/*/*
my_dataset/*
spikeinterface_gui/tests/datasets/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

magnifico

@chrishalcrow chrishalcrow left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran all interactive tests locally, and ran the full test suite locally. All working great!!

Much better set up!

Comment thread README.md Resolved
Co-authored-by: Chris Halcrow <57948917+chrishalcrow@users.noreply.github.com>
@alejoe91
alejoe91 merged commit a2a0319 into SpikeInterface:main Nov 9, 2026
2 of 3 checks passed
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.

2 participants