File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2121import unittest
2222import importlib .util
2323import warnings
24+ import os
2425
2526from neo .utils .datasets import download_dataset , get_local_testing_data_folder , default_testing_repo
2627
3435else :
3536 HAVE_DATALAD = False
3637 # pytest skip doesn't explain why we are skipping.
37- # warnings are easy to skip for users that don't want to have to read them.
38- warnings .warn ("datalad failure. Please see installation instructions to run io-testing" )
38+ # raise error if in CI to prevent tests from spuriously skipping and appearing
39+ # as passing.
40+ if os .environ .get ("GITHUB_ACTIONS" ) == 'true' :
41+ raise RuntimeError ("Datalad is required for running the CI." )
42+
3943
4044# url_for_tests = "https://portal.g-node.org/neo/" #This is the old place
4145repo_for_test = default_testing_repo
You can’t perform that action at this time.
0 commit comments