mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-21 01:30:29 +02:00
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:
@@ -276,7 +276,9 @@ workspaces.
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _ (invoke "pytest"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest")))))))
|
||||
(inputs
|
||||
`(("python-six", python-six)
|
||||
("python-termcolor", python-termcolor)))
|
||||
|
||||
Reference in New Issue
Block a user