gnu: python-fire: Respect #:tests?
* gnu/packages/python-xyz.scm (python-fire)[arguments]: Respect #:tests? in the custom 'check' phase.
This commit is contained in:
parent
3fdb2d6792
commit
e61874a598
|
@ -276,7 +276,9 @@ (define-public python-fire
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _ (invoke "pytest"))))))
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "pytest")))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("python-six", python-six)
|
`(("python-six", python-six)
|
||||||
("python-termcolor", python-termcolor)))
|
("python-termcolor", python-termcolor)))
|
||||||
|
|
Loading…
Reference in a new issue