mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-23 10:47:24 +01:00
gnu: python-seaborn: 'check' phase honors #:tests?.
* gnu/packages/python-xyz.scm (python-seaborn)[arguments]: Change 'check' phase to honor #:tests?.
This commit is contained in:
parent
ef3d60fc76
commit
c7cfe54018
1 changed files with 4 additions and 1 deletions
|
@ -8819,7 +8819,10 @@ (define-public python-seaborn
|
||||||
(system (format #f "~a/bin/Xvfb :1 &" xorg-server))
|
(system (format #f "~a/bin/Xvfb :1 &" xorg-server))
|
||||||
(setenv "DISPLAY" ":1")
|
(setenv "DISPLAY" ":1")
|
||||||
#t)))
|
#t)))
|
||||||
(replace 'check (lambda _ (invoke "pytest" "seaborn") #t)))))
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "pytest" "seaborn")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-pandas" ,python-pandas)
|
`(("python-pandas" ,python-pandas)
|
||||||
("python-matplotlib" ,python-matplotlib)
|
("python-matplotlib" ,python-matplotlib)
|
||||||
|
|
Loading…
Reference in a new issue