mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 20:10:39 +02: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
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")
|
||||
(invoke "python" "-m" "pytest" "-vv"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(setenv "HOME" "/tmp")
|
||||
(invoke "python" "-m" "pytest" "-vv"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("python-pytest" ,python-pytest)
|
||||
("python-docopt" ,python-docopt)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue