From 02b4331d7c94659437834e7a778104e2fe30e630 Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Mon, 30 Oct 2023 15:23:11 +0100 Subject: [PATCH] Skip failing maxwell tests --- src/spikeinterface/extractors/tests/test_neoextractors.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/spikeinterface/extractors/tests/test_neoextractors.py b/src/spikeinterface/extractors/tests/test_neoextractors.py index 257c1d566a..64c6499767 100644 --- a/src/spikeinterface/extractors/tests/test_neoextractors.py +++ b/src/spikeinterface/extractors/tests/test_neoextractors.py @@ -1,10 +1,10 @@ import unittest import platform import subprocess +import os from packaging import version import pytest -import numpy as np from spikeinterface.core.testing import check_recordings_equal from spikeinterface import get_global_dataset_folder @@ -16,6 +16,7 @@ EventCommonTestSuite, ) +ON_GITHUB = bool(os.getenv("GITHUB_ACTIONS")) local_folder = get_global_dataset_folder() / "ephy_testing_data" @@ -277,6 +278,7 @@ class CedRecordingTest(RecordingCommonTestSuite, unittest.TestCase): ] +@pytest.mark.skipif(ON_GITHUB, reason="Maxwell plugin not installed on GitHub") class MaxwellRecordingTest(RecordingCommonTestSuite, unittest.TestCase): ExtractorClass = MaxwellRecordingExtractor downloads = ["maxwell"]