This is an automated email from the git hooks/post-receive script.
sharlatan pushed a commit to branch go-team
in repository guix.
The following commit(s) were added to refs/heads/go-team by this push:
new fb886a4098 gnu: go-github-com-go-playground-validator-v10: Limit tests
to x86_64.
fb886a4098 is described below
commit fb886a4098a727431078ec8fba158a3768867e37
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Dec 30 16:22:56 2024 +0000
gnu: go-github-com-go-playground-validator-v10: Limit tests to x86_64.
Limit tests to x86_64 architecture as they fail on others, see
<https://ci.guix.gnu.org/build/7801336/log/raw>.
* gnu/packages/golang-check.scm (go-github-com-go-playground-validator-v10)
[arguments] <tests?>: Only run on x86_64 system.
Change-Id: I0b07638cbfdf8a737ea2f040bcb0dd27bfede09a
---
gnu/packages/golang-check.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 41a9309aae..edf8440613 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -472,6 +472,11 @@ tests.")
(build-system go-build-system)
(arguments
(list
+ ;; Tests on non-x86_64 architectures are not well supported upstream.
+ ;;
+ ;; Most of them fail with error like: Error:Field validation for
+ ;; 'IsColor' failed on the 'iscolor' tag.
+ #:tests? (target-x86-64?)
#:import-path "github.com/go-playground/validator/v10"))
(native-inputs
(list go-github-com-go-playground-assert-v2))