mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-04 02:19:18 -05:00
gnu: python-dask: Run tests conditionally.
* gnu/packages/python-xyz.scm (python-dask)[arguments]: Respect TESTS? option.
This commit is contained in:
parent
ad17046040
commit
ed15986a32
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue