aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorArun Isaac2023-07-05 14:29:12 +0100
committerArun Isaac2023-07-05 14:29:12 +0100
commit402181e7b0fa440a1ce2588b4d77008c99ddf510 (patch)
tree4f4b1c502ab18402fabe067c67a693526ae5acf8 /gn/packages
parentdd39e05aa87edf8ce26090bd14cee5c724aeccfe (diff)
downloadguix-bioinformatics-402181e7b0fa440a1ce2588b4d77008c99ddf510.tar.gz
Run genenetwork3 tests using pytest.
* gn/packages/genenetwork.scm (genenetwork3)[arguments]: Replace check phase to use pytest.
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/genenetwork.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index acfae1c..1998ef6 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -170,6 +170,13 @@
diffutils
yoyo-migrations))
(build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-k" "unit_test")))))))
(home-page "https://github.com/genenetwork/genenetwork3")
(synopsis "GeneNetwork3 API for data science and machine learning.")
(description "GeneNetwork3 API for data science and machine learning.")