diff options
author | Arun Isaac | 2023-07-05 14:29:12 +0100 |
---|---|---|
committer | Arun Isaac | 2023-07-05 14:29:12 +0100 |
commit | 402181e7b0fa440a1ce2588b4d77008c99ddf510 (patch) | |
tree | 4f4b1c502ab18402fabe067c67a693526ae5acf8 | |
parent | dd39e05aa87edf8ce26090bd14cee5c724aeccfe (diff) | |
download | guix-bioinformatics-402181e7b0fa440a1ce2588b4d77008c99ddf510.tar.gz |
Run genenetwork3 tests using pytest.
* gn/packages/genenetwork.scm (genenetwork3)[arguments]: Replace check
phase to use pytest.
-rw-r--r-- | gn/packages/genenetwork.scm | 7 |
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.") |