Skip to content
Snippets Groups Projects
Commit 8066629f authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

enable py-siibra tests

parent b4f0d619
No related branches found
No related tags found
3 merge requests!357create new experimental release,!353Enable siibra package tests,!351Add siibra package
Pipeline #23418 failed with stage
in 22 minutes and 27 seconds
......@@ -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")
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment