gnu: taxtastic: Run tests conditionally.

* gnu/packages/bioinformatics.scm (taxtastic)[arguments]: Respect TESTS?
option.
This commit is contained in:
Ricardo Wurmus 2021-12-07 15:12:15 +01:00
parent 58fecfd18e
commit 00ba04020e
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -7466,7 +7466,9 @@ Cuffdiff or Ballgown programs.")
(replace 'check
;; Note, this fails to run with "-v" as it tries to write to a
;; closed output stream.
(lambda _ (invoke "python" "-m" "unittest") #t)))))
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "unittest")))))))
(propagated-inputs
`(("python-sqlalchemy" ,python-sqlalchemy)
("python-decorator" ,python-decorator)