mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-connectrpc-com-connect: Enable tests.
* gnu/packages/golang-web.scm (go-connectrpc-com-connect) [source] <snippet>: Delete submodules with their own go.mod. [arguments] <tests?>: Run short unit tests. <test-flags>: Skip some problematic tests. Change-Id: If5019334ab41b37b1428c92be2ba15cb41723689
This commit is contained in:
parent
7b48ff37cc
commit
a43303a2dd
1 changed files with 11 additions and 3 deletions
|
@ -287,13 +287,21 @@ backwards-compatibility is mostly given.")
|
|||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0a6rzp57srhyf66jri62gfsj4ndpfxgb9ln15qdpfwv0xvcffz63"))))
|
||||
(base32 "0a6rzp57srhyf66jri62gfsj4ndpfxgb9ln15qdpfwv0xvcffz63"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
#~(begin
|
||||
;; Submodules with their own go.mod files and packaged separately:
|
||||
;;
|
||||
;; - connectrpc.com/connect/internal/conformance
|
||||
(delete-file-recursively "internal/conformance")))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "connectrpc.com/connect"
|
||||
;; Needs additional dependencies..
|
||||
#:tests? #f))
|
||||
;; TODO: Generate with protoc-gen-go, protoc-gen-connect-go, and buf.
|
||||
;; See: <https://github.com/connectrpc/connect-go/blob/v1.18.1/Makefile#L80>.
|
||||
#:test-flags #~(list "-short" "-skip" "TestVersion|TestGenerate")))
|
||||
(propagated-inputs
|
||||
(list go-github-com-google-go-cmp
|
||||
go-golang-org-x-net
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue