me
/
guix
Archived
1
0
Fork 0

gnu: python-watchgod: Respect "--without-tests".

* gnu/packages/python-xyz.scm
  (python-watchgod)[arguments]<#:phases>{check}: Respect #:tests?.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
master
Maxime Devos 2021-07-08 17:07:49 +02:00 committed by Mathieu Othacehe
parent 3cd509bf66
commit d0b3bb9df7
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 3 additions and 2 deletions

View File

@ -23348,8 +23348,9 @@ but portable.")
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda _ (lambda* (#:key tests? #:allow-other-keys)
(invoke "pytest" "-vv")))))) (when tests?
(invoke "pytest" "-vv")))))))
(native-inputs (native-inputs
`(("python-coverage" ,python-coverage) `(("python-coverage" ,python-coverage)
("python-docutils" ,python-docutils) ("python-docutils" ,python-docutils)