mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
85c3621406
commit
e6d3f20f05
1 changed files with 12 additions and 2 deletions
|
@ -44,6 +44,7 @@
|
||||||
#:use-module (gnu packages databases)
|
#:use-module (gnu packages databases)
|
||||||
#:use-module (gnu packages golang)
|
#:use-module (gnu packages golang)
|
||||||
#:use-module (gnu packages golang-build)
|
#:use-module (gnu packages golang-build)
|
||||||
|
#:use-module (gnu packages golang-check)
|
||||||
#:use-module (gnu packages golang-vcs)
|
#:use-module (gnu packages golang-vcs)
|
||||||
#:use-module (gnu packages golang-xyz)
|
#:use-module (gnu packages golang-xyz)
|
||||||
#:use-module (gnu packages guile)
|
#:use-module (gnu packages guile)
|
||||||
|
@ -316,7 +317,15 @@ reinventing them.")
|
||||||
#:go go-1.23
|
#:go go-1.23
|
||||||
#:import-path "gitea.com/gitea/act_runner"
|
#:import-path "gitea.com/gitea/act_runner"
|
||||||
#:embed-files #~(list ".*\\.json" ".*\\.js" ".*\\.sh")
|
#: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
|
#:phases #~(modify-phases %standard-phases
|
||||||
(add-after 'install 'rename-binary
|
(add-after 'install 'rename-binary
|
||||||
(lambda _
|
(lambda _
|
||||||
|
@ -337,7 +346,8 @@ reinventing them.")
|
||||||
go-golang-org-x-term
|
go-golang-org-x-term
|
||||||
go-golang-org-x-time
|
go-golang-org-x-time
|
||||||
go-google-golang-org-protobuf
|
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")
|
(home-page "https://code.forgejo.org/forgejo/runner")
|
||||||
(synopsis "Run continuous integration jobs for Forgejo")
|
(synopsis "Run continuous integration jobs for Forgejo")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue