diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-20 23:55:39 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-21 00:00:56 +0100 |
commit | e6d3f20f05ed3419f79f993ae4dbe8059c7eef58 (patch) | |
tree | 7681f348c67d15c478c1f69efc31df30c826dda8 | |
parent | 85c3621406c7d0868f687935164642b98e6d6b03 (diff) |
gnu: forgejo-runner: Enable tests.
* gnu/packages/ci.scm (forgejo-runner) [arguments] <tests?>: Enable them.
<test-flags>: Skip 2 tests.
[native-inputs]: Add go-gotest-tools-v3.
Change-Id: Ifb019f3c25bbfa0aaba1bbc846819a5226475b85
-rw-r--r-- | gnu/packages/ci.scm | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm index be2903467e..14c839268d 100644 --- a/gnu/packages/ci.scm +++ b/gnu/packages/ci.scm @@ -44,6 +44,7 @@ #:use-module (gnu packages databases) #:use-module (gnu packages golang) #:use-module (gnu packages golang-build) + #:use-module (gnu packages golang-check) #:use-module (gnu packages golang-vcs) #:use-module (gnu packages golang-xyz) #:use-module (gnu packages guile) @@ -316,7 +317,15 @@ reinventing them.") #:go go-1.23 #:import-path "gitea.com/gitea/act_runner" #:embed-files #~(list ".*\\.json" ".*\\.js" ".*\\.sh") - #:tests? #f + #:test-flags + #~(list "-skip" (string-join + (list + ;; Should be true. + "Test_ping" + ;; panic: runtime error: invalid memory address or nil + ;; pointer dereference. + "Test_runCreateRunnerFile") + "|")) #:phases #~(modify-phases %standard-phases (add-after 'install 'rename-binary (lambda _ @@ -337,7 +346,8 @@ reinventing them.") go-golang-org-x-term go-golang-org-x-time go-google-golang-org-protobuf - go-gopkg-in-yaml-v3)) + go-gopkg-in-yaml-v3 + go-gotest-tools-v3)) (home-page "https://code.forgejo.org/forgejo/runner") (synopsis "Run continuous integration jobs for Forgejo") (description |