From 09f8c3f577d121e4aca72b4c674f3fd82f3a83b5 Mon Sep 17 00:00:00 2001 From: Mathieu Scheltienne Date: Wed, 16 Oct 2024 14:56:27 +0200 Subject: [PATCH] fix CIs --- mne_lsl/lsl/tests/test_load_liblsl.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mne_lsl/lsl/tests/test_load_liblsl.py b/mne_lsl/lsl/tests/test_load_liblsl.py index 8d63ca176..7e03027d1 100644 --- a/mne_lsl/lsl/tests/test_load_liblsl.py +++ b/mne_lsl/lsl/tests/test_load_liblsl.py @@ -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(...)).",