mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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:
parent
3fdb2d6792
commit
e61874a598
1 changed files with 3 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue