mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: python-identify: Honor #:tests in check phase.
* gnu/packages/python-xyz.scm (python-identify)[arguments]: Honor tests?.
This commit is contained in:
parent
81698e5099
commit
6a29b83423
1 changed files with 3 additions and 2 deletions
|
@ -20751,8 +20751,9 @@ (define-public python-identify
|
|||
;; system-error "utime" "~A" ("No such file or directory")
|
||||
(delete 'ensure-no-mtimes-pre-1980)
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "pytest" "-vv"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv")))))))
|
||||
(native-inputs
|
||||
`(("python-coverage" ,python-coverage)
|
||||
("python-pytest" ,python-pytest)))
|
||||
|
|
Loading…
Reference in a new issue