From 402181e7b0fa440a1ce2588b4d77008c99ddf510 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 5 Jul 2023 14:29:12 +0100 Subject: Run genenetwork3 tests using pytest. * gn/packages/genenetwork.scm (genenetwork3)[arguments]: Replace check phase to use pytest. --- gn/packages/genenetwork.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gn/packages') 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.") -- cgit v1.2.3