Chore: Add go workspace (#83191)

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
This commit is contained in:
Todd Treece
2024-02-23 08:54:24 -05:00
committed by GitHub
parent 43b186a52e
commit 49d3cb29eb
10 changed files with 943 additions and 36 deletions

View File

@@ -565,7 +565,7 @@ def test_backend_step():
# shared-mime-info and shared-mime-info-lang is used for exactly 1 test for the
# mime.TypeByExtension function.
"apk add --update build-base shared-mime-info shared-mime-info-lang",
"go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/...",
"go list -f '{{.Dir}}/...' -m | xargs go test -tags requires_buildifer -short -covermode=atomic -timeout=5m",
],
}
@@ -1036,7 +1036,7 @@ def mysql_integration_tests_steps(hostname, version):
def redis_integration_tests_steps():
cmds = [
"go clean -testcache",
"go test -run IntegrationRedis -covermode=atomic -timeout=2m ./pkg/...",
"go list -f '{{.Dir}}/...' -m | xargs go test -run IntegrationRedis -covermode=atomic -timeout=2m",
]
environment = {
@@ -1061,7 +1061,7 @@ def remote_alertmanager_integration_tests_steps():
def memcached_integration_tests_steps():
cmds = [
"go clean -testcache",
"go test -run IntegrationMemcached -covermode=atomic -timeout=2m ./pkg/...",
"go list -f '{{.Dir}}/...' -m | xargs go test -run IntegrationMemcached -covermode=atomic -timeout=2m",
]
environment = {