Skip to content
Snippets Groups Projects

Add siibra package

Merged Eleni Mathioulaki requested to merge add-siibra-package into master
1 file
+ 6
6
Compare changes
  • Side-by-side
  • Inline
@@ -32,11 +32,11 @@ 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')
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")
@run_after('install')
@on_package_attributes(run_tests=True)
def install_test(self):
pytest = which("pytest")
pytest("-rx")