mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-jedi: Allow test phase to be skipped.
* gnu/packages/python-xyz.scm (python-jedi)[arguments]: Wrap custom 'check phase tests with check for tests? keyword.
This commit is contained in:
parent
b12974ec52
commit
ab10e1086c
1 changed files with 5 additions and 3 deletions
|
@ -13945,9 +13945,11 @@ characters, mouse support, and auto suggestions.")
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(setenv "HOME" "/tmp")
|
(when tests?
|
||||||
(invoke "python" "-m" "pytest" "-vv"))))))
|
(setenv "HOME" "/tmp")
|
||||||
|
(invoke "python" "-m" "pytest" "-vv"))
|
||||||
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest)
|
`(("python-pytest" ,python-pytest)
|
||||||
("python-docopt" ,python-docopt)))
|
("python-docopt" ,python-docopt)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue