mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: go-github-com-goccy-go-yaml: Enable all tests.
* gnu/packages/golang-xyz.scm (go-github-com-goccy-go-yaml) [arguments]: <#:phases>: Use customer 'check phase. Change-Id: Idb607eef3cb09cfa3694a25d0acf8bfa0be22bcc
This commit is contained in:
parent
e799307dec
commit
69b0178ba6
1 changed files with 7 additions and 1 deletions
|
@ -2042,7 +2042,13 @@ (define-public go-github-com-goccy-go-yaml
|
|||
(add-after 'unpack 'remove-benchmarks
|
||||
(lambda* (#:key import-path #:allow-other-keys)
|
||||
(delete-file-recursively
|
||||
(string-append "src/" import-path "/benchmarks")))))))
|
||||
(string-append "src/" import-path "/benchmarks"))))
|
||||
;; XXX: Replace when go-build-system supports nested path.
|
||||
(replace 'check
|
||||
(lambda* (#:key import-path tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(invoke "go" "test" "-v" "./..."))))))))
|
||||
(native-inputs
|
||||
(list go-github-com-go-playground-validator-v10
|
||||
go-github-com-google-go-cmp-cmp))
|
||||
|
|
Loading…
Reference in a new issue