mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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 @@ library to allow local file system access via @code{file://} URLs.")
|
||||||
;; system-error "utime" "~A" ("No such file or directory")
|
;; system-error "utime" "~A" ("No such file or directory")
|
||||||
(delete 'ensure-no-mtimes-pre-1980)
|
(delete 'ensure-no-mtimes-pre-1980)
|
||||||
(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-pytest" ,python-pytest)))
|
("python-pytest" ,python-pytest)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue