Skip to content
Snippets Groups Projects

add spack post-installation testing

Merged Eleni Mathioulaki requested to merge test-spacktests-workaround into master
1 file
+ 2
3
Compare changes
  • Side-by-side
  • Inline
@@ -58,6 +58,5 @@ class PyTvbLibrary(PythonPackage):
@run_after('install')
@on_package_attributes(run_tests=True)
def install_test(self):
pytest = which('pytest')
pytest('tvb.tests.library')
with working_dir('spack-test', create=True):
python('-m', 'pytest --pyargs tvb.tests.library')