mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01: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:
parent
347eda414d
commit
0b7578e596
1 changed files with 15 additions and 4 deletions
|
@ -215,6 +215,21 @@ (define-public nats-server
|
|||
(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 @@ (define-public nats-server
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue