mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: tuir: Respect #:tests?.
* gnu/packages/syndication.scm (tuir)[arguments]: Adjust custom 'check phase to skip tests when requested.
This commit is contained in:
parent
75ec0fa243
commit
a715e93a09
1 changed files with 3 additions and 2 deletions
|
@ -475,9 +475,10 @@ (define-public tuir
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(invoke "pytest"))))))
|
||||
(when tests?
|
||||
(invoke "pytest")))))))
|
||||
(inputs
|
||||
`(("python-beautifulsoup4" ,python-beautifulsoup4)
|
||||
("python-decorator" ,python-decorator)
|
||||
|
|
Loading…
Reference in a new issue