gnu: python-dask: Run tests conditionally.

* gnu/packages/python-xyz.scm (python-dask)[arguments]: Respect TESTS? option.
This commit is contained in:
Ricardo Wurmus 2021-12-07 13:07:23 +01:00
parent ad17046040
commit ed15986a32
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -22764,7 +22764,8 @@ (define-public python-dask
(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)