[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/14: gnu: go-github-com-go-task-slim-sprig: Enable tests.
From: |
guix-commits |
Subject: |
05/14: gnu: go-github-com-go-task-slim-sprig: Enable tests. |
Date: |
Wed, 22 May 2024 19:47:34 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 33a264496319a7dd0871bfc6fff6ab9aed0c66e4
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed May 22 22:59:00 2024 +0100
gnu: go-github-com-go-task-slim-sprig: Enable tests.
* gnu/packages/golang-xyz.scm (go-github-com-go-task-slim-sprig)
[arguments] <#:tests>: Enable it.
<#:phases>: Add 'remove-failing-tests phase.
Change-Id: I32424925a96defd69e2871dee079db8bef2861b2
---
gnu/packages/golang-xyz.scm | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index cb8bc27021..a613287dca 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1404,9 +1404,15 @@ while callers can implement logging with whatever
backend is appropriate.")
(build-system go-build-system)
(arguments
(list
- ;; Tests try to access the network.
- #:tests? #f
- #:import-path "github.com/go-task/slim-sprig"))
+ #:import-path "github.com/go-task/slim-sprig"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-failing-tests
+ (lambda* (#:key import-path #:allow-other-keys)
+ (delete-file
+ (string-append "src/" import-path "/network_test.go")))))))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(home-page "https://github.com/go-task/slim-sprig")
(synopsis "Various useful template functions for Go")
(description
- branch master updated (3597c73658 -> c3fe248e69), guix-commits, 2024/05/22
- 03/14: gnu: Add go-go-uber-org-mock., guix-commits, 2024/05/22
- 01/14: gnu: augeas: Update to 1.14.1., guix-commits, 2024/05/22
- 02/14: gnu: Add python-augeas., guix-commits, 2024/05/22
- 08/14: gnu: go-github-com-onsi-gomega: Update to 1.33.1., guix-commits, 2024/05/22
- 11/14: gnu: go-github-com-syndtr-goleveldb-leveldb: Move to golang-xyz., guix-commits, 2024/05/22
- 10/14: gnu: go-github-com-syndtr-goleveldb-leveldb: Use go-1.21., guix-commits, 2024/05/22
- 12/14: gnu: go-github-com-quic-go-quic-go: Enable tests., guix-commits, 2024/05/22
- 07/14: gnu: go-github-com-onsi-ginkgo-v2: Update to 2.18.0., guix-commits, 2024/05/22
- 04/14: gnu: go-github-com-go-task-slim-sprig: Move to golang-xyz., guix-commits, 2024/05/22
- 05/14: gnu: go-github-com-go-task-slim-sprig: Enable tests.,
guix-commits <=
- 09/14: gnu: Add go-ginkgo., guix-commits, 2024/05/22
- 13/14: gnu: Remove go-github-com-lucas-clemente-quic-go., guix-commits, 2024/05/22
- 06/14: gnu: Add go-github-com-go-task-slim-sprig-v3., guix-commits, 2024/05/22
- 14/14: gnu: kubo: Unbundle go-github-com-quic-go-quic-go., guix-commits, 2024/05/22