mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: nats-server: Fix tests.
* gnu/packages/high-availability.scm (nats-server) [arguments] <tests-flags>: Port tests options as seen in project's GitHub Actions workflow. <test-subdirs>: Likewise. Change-Id: I989163842c5c2bed672ddc021f0e0c572e352831
This commit is contained in:
@@ -215,6 +215,21 @@ applications.")
|
||||
(sha256
|
||||
(base32 "0r1d0l3mmb90956wl97vqlb3cdhax7jkqa95hvx9b380g93a08py"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:install-source? #f
|
||||
#:import-path "github.com/nats-io/nats-server"
|
||||
;; The test logic is taken from project's GitHub Actions workflow file
|
||||
;; <.github/workflows/tests.yaml>.
|
||||
#:test-flags
|
||||
#~(list "-count=1" "-vet=off" "-failfast"
|
||||
"-skip" (string-join
|
||||
(list "TestHTTPHost"
|
||||
"TestSysLogger"
|
||||
"TestLogMaxArchives")
|
||||
"|") )
|
||||
#:test-subdirs
|
||||
#~(list "conf/..." "internal/..." "logger/..." "test/...")))
|
||||
(inputs
|
||||
(list go-github-com-klauspost-compress
|
||||
go-github-com-minio-highwayhash
|
||||
@@ -226,10 +241,6 @@ applications.")
|
||||
go-golang-org-x-crypto
|
||||
go-golang-org-x-sys
|
||||
go-golang-org-x-time))
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/nats-io/nats-server"
|
||||
#:install-source? #f))
|
||||
(home-page "https://github.com/nats-io/nats-server")
|
||||
(synopsis "High performance message broker")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user