Skip to content

Commit

Permalink
fix CIs
Browse files Browse the repository at this point in the history
  • Loading branch information
mscheltienne committed Oct 16, 2024
1 parent 8259929 commit 09f8c3f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mne_lsl/lsl/tests/test_load_liblsl.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,17 @@ def download_liblsl_outdated(tmp_path_factory) -> Path:
return Path(libpath)


@pytest.fixture
@pytest.fixture()
def liblsl_outdated(tmp_path, download_liblsl_outdated) -> Path:
"""Fixture to provide an outdated liblsl version."""
copy(download_liblsl_outdated, tmp_path / download_liblsl_outdated.name)
return tmp_path / download_liblsl_outdated.name


@pytest.mark.skipif(
_PLATFORM == "linux",
reason="Runner ubuntu-latest runs on 24.04 and LSL did not release yet for it.",
)
@pytest.mark.skipif(
_PLATFORM == "windows",
reason="PermissionError: [WinError 5] Access is denied (on Path.unlink(...)).",
Expand Down

0 comments on commit 09f8c3f

Please sign in to comment.