mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 15:22:18 -05:00
gnu: python-pairtools: Run tests conditionally.
* gnu/packages/bioinformatics.scm (python-pairtools)[arguments]: Run tests conditionally.
This commit is contained in:
parent
631ea9a411
commit
089b2e4f65
1 changed files with 4 additions and 4 deletions
|
@ -1116,10 +1116,10 @@ (define-public python-pairtools
|
||||||
(("/bin/bash") (which "bash")))
|
(("/bin/bash") (which "bash")))
|
||||||
#t))
|
#t))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(add-installed-pythonpath inputs outputs)
|
(when tests?
|
||||||
(with-directory-excursion "/tmp"
|
(with-directory-excursion "/tmp"
|
||||||
(invoke "pytest" "-v")))))))
|
(invoke "pytest" "-v"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-cython python-nose python-pytest))
|
(list python-cython python-nose python-pytest))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Reference in a new issue