Skip to content
Snippets Groups Projects

Add siibra package

Merged Eleni Mathioulaki requested to merge add-siibra-package into master
1 file
+ 8
7
Compare changes
  • Side-by-side
  • Inline
@@ -32,11 +32,12 @@ class PySiibra(PythonPackage):
depends_on('py-typing-extensions', type=('build', 'run'), when='^python@:3.7')
depends_on('py-filelock', type=('build', 'run'))
depends_on('py-pytest', type='test')
# @run_after('install')
# @on_package_attributes(run_tests=True)
# def install_test(self):
# with working_dir('spack-test', create=True):
# pytest("-rx")
depends_on('py-pytest', type=('test'))
@run_after('install')
@on_package_attributes(run_tests=True)
def install_test(self):
with working_dir('spack-test', create=True):
pytest = which("pytest")
pytest("-rx")