Skip to content
Snippets Groups Projects

Added tests to all our spackages

Merged Dani Beltrán requested to merge dbeltran/ebrains-spack-builds:master into master
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
@@ -19,3 +19,9 @@ class BiobbCommon(PythonPackage):
depends_on('py-pyyaml', type=('build', 'run'))
depends_on('py-requests', type=('build', 'run'))
depends_on('py-biopython@1.78:1.80', type=('build', 'run'))
# Test
@run_after('install')
@on_package_attributes(run_tests=True)
def check_install (self):
python("-c", 'import biobb_common')