mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -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")))
|
||||
#t))
|
||||
(replace 'check
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(with-directory-excursion "/tmp"
|
||||
(invoke "pytest" "-v")))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion "/tmp"
|
||||
(invoke "pytest" "-v"))))))))
|
||||
(native-inputs
|
||||
(list python-cython python-nose python-pytest))
|
||||
(inputs
|
||||
|
|
Loading…
Reference in a new issue