gnu: tuir: Respect #:tests?.
* gnu/packages/syndication.scm (tuir)[arguments]: Adjust custom 'check phase to skip tests when requested.
parent
75ec0fa243
commit
a715e93a09
|
@ -475,9 +475,10 @@ a simple interface that makes it easy to organize and browse feeds.")
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||||
(add-installed-pythonpath inputs outputs)
|
(add-installed-pythonpath inputs outputs)
|
||||||
(invoke "pytest"))))))
|
(when tests?
|
||||||
|
(invoke "pytest")))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("python-beautifulsoup4" ,python-beautifulsoup4)
|
`(("python-beautifulsoup4" ,python-beautifulsoup4)
|
||||||
("python-decorator" ,python-decorator)
|
("python-decorator" ,python-decorator)
|
||||||
|
|
Reference in New Issue