From ed15986a32c304133c20a75d12b8fe14b441250e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 7 Dec 2021 13:07:23 +0100 Subject: gnu: python-dask: Run tests conditionally. * gnu/packages/python-xyz.scm (python-dask)[arguments]: Respect TESTS? option. --- gnu/packages/python-xyz.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8aee3352aa..70bc458d67 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22764,7 +22764,8 @@ decisions with any given backend.") (string-append "@pytest.mark.skip(reason=\"Disabled by Guix\")\n" m))))) (replace 'check - (lambda _ (invoke "pytest" "-vv")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? (invoke "pytest" "-vv"))))))) (propagated-inputs `(("python-cloudpickle" ,python-cloudpickle) ("python-fsspec" ,python-fsspec) -- cgit v1.2.3