From b6e5e45089cb2dee6e33bad1d245349843da95f9 Mon Sep 17 00:00:00 2001 From: Long Nguyen Date: Thu, 25 Mar 2021 10:36:00 -0400 Subject: [PATCH] make test ci --- Makefile | 3 +++ ci/pipeline.yml | 2 +- ci/scripts/test | 2 +- go.sum | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 60c8417..b29fa04 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,9 @@ run: test: ginkgo watch ./... + +test-ci: + ginkgo ./... gen: go generate ./... diff --git a/ci/pipeline.yml b/ci/pipeline.yml index c5d9bab..f924dde 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -22,7 +22,7 @@ meta: name: (( param "Please provide the git name for automated commits" )) go: - version: 1.13 + version: 1.14 module: (( concat "github.com/" meta.github.owner "/" meta.github.repo )) cmd_module: (( grab meta.go.module )) binary: (( grab meta.github.repo )) diff --git a/ci/scripts/test b/ci/scripts/test index 7327879..eacdc3c 100755 --- a/ci/scripts/test +++ b/ci/scripts/test @@ -10,4 +10,4 @@ cd ${GOPATH}/src/${MODULE} # any `go test` / `go vet` stuff... go version; echo; echo -make test +make test-ci diff --git a/go.sum b/go.sum index 0429a4e..7dc6d1f 100644 --- a/go.sum +++ b/go.sum @@ -506,6 +506,7 @@ golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200612220849-54c614fe050c h1:g6oFfz6Cmw68izP3xsdud3Oxu145IPkeFzyRg58AKHM= golang.org/x/tools v0.0.0-20200612220849-54c614fe050c/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e h1:4nW4NLDYnU28ojHaHO8OVxFHk/aQ33U01a9cjED+pzE= golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=