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
1
Compare changes
  • Side-by-side
  • Inline
@@ -58,5 +58,6 @@ class PyTvbLibrary(PythonPackage):
@run_after('install')
@on_package_attributes(run_tests=True)
def install_test(self):
with working_dir('spack-test', create=True):
python('-m', 'pytest --pyargs tvb.tests.library')
python('-m', 'pytest', '--pyargs', 'tvb.tests.library')