Skip to content
Snippets Groups Projects

skip some elephant tests that fail on HPC

Merged Eleni Mathioulaki requested to merge elephant-skip-tests into master
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -76,6 +76,7 @@ class PyElephant(PythonPackage):
@run_after('install')
@on_package_attributes(run_tests=True)
def install_test(self):
# run tests here (this is just an example):
pytest = which('pytest')
pytest()
# skip some tests that seem to fail on HPC deployments,
# see https://gitlab.ebrains.eu/technical-coordination/project-internal/devops/platform/ebrains-spack-builds/-/issues/38
pytest('-k', 'not test_WPLI_ground_truth_consistency_real_LFP_dataset and not test_multitaper_cohere_perfect_cohere')