From 1f8614b1c620876c691d3fb68c3f895db6b9dd1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dani=20Beltr=C3=A1n?= <daniel.beltran@irbbarcelona.org>
Date: Fri, 23 Jun 2023 15:27:58 +0200
Subject: [PATCH] Update package.py

---
 packages/biobb-structure-checking/package.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/packages/biobb-structure-checking/package.py b/packages/biobb-structure-checking/package.py
index 4719d65f..ab086257 100644
--- a/packages/biobb-structure-checking/package.py
+++ b/packages/biobb-structure-checking/package.py
@@ -18,3 +18,9 @@ class BiobbStructureChecking(PythonPackage):
     depends_on('py-psutil', type=('build', 'run'))
     depends_on('py-numpy', 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_structure_checking')
-- 
GitLab