[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: gnu: miniflux: Enable all tests.
From: |
guix-commits |
Subject: |
10/10: gnu: miniflux: Enable all tests. |
Date: |
Thu, 11 Jul 2024 08:12:13 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit af4c90dc736295b19fda88cd8652f67f138409a1
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Jul 11 12:59:22 2024 +0100
gnu: miniflux: Enable all tests.
* gnu/packages/web.scm (miniflux) [arguments]: <#:phases>: Swap to
custom 'check phase.
Change-Id: Ib62634abe3be76ad4ad708f5de75e9b96264a0cd
---
gnu/packages/web.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 2128597721..62328ca868 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -361,6 +361,12 @@ and its related documentation.")
#$version))
#:phases
#~(modify-phases %standard-phases
+ ;; 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" "./...")))))
(add-after 'install 'install-manpage
(lambda* (#:key import-path #:allow-other-keys)
(let ((man1 (string-append #$output "/share/man/man1/"))
- branch master updated (0663668507 -> af4c90dc73), guix-commits, 2024/07/11
- 03/10: gnu: Add go-github-com-x448-float16., guix-commits, 2024/07/11
- 04/10: gnu: Add go-github-com-abadojack-whatlanggo., guix-commits, 2024/07/11
- 05/10: gnu: Add go-github-com-fxamacker-cbor-v2., guix-commits, 2024/07/11
- 09/10: gnu: miniflux: Adjust indentation., guix-commits, 2024/07/11
- 01/10: gnu: go-github-com-andybalholm-brotli: Update to 1.1.0., guix-commits, 2024/07/11
- 02/10: gnu: Add go-github-com-google-go-tpm., guix-commits, 2024/07/11
- 06/10: gnu: Add go-github-com-go-webauthn-x., guix-commits, 2024/07/11
- 07/10: gnu: Add go-github-com-go-webauthn-webauthn., guix-commits, 2024/07/11
- 10/10: gnu: miniflux: Enable all tests.,
guix-commits <=
- 08/10: gnu: miniflux: Update to 2.1.4., guix-commits, 2024/07/11