Chore: Revert drone go workspace change to tests (#91762)

This commit is contained in:
Todd Treece
2024-08-09 21:03:26 +03:00
committed by GitHub
parent 24c9aad5bb
commit 30c3f5b66a
3 changed files with 27 additions and 32 deletions
+3 -3
View File
@@ -553,7 +553,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",
"./scripts/go-workspace/test-includes.sh | xargs go test -tags requires_buildifier -short -covermode=atomic -timeout=5m",
"go list -f '{{.Dir}}/...' -m | xargs go test -short -covermode=atomic -timeout=5m",
],
}
@@ -1056,7 +1056,7 @@ def mysql_integration_tests_steps(hostname, version):
def redis_integration_tests_steps():
cmds = [
"go clean -testcache",
"./scripts/go-workspace/test-includes.sh | xargs go test -run IntegrationRedis -covermode=atomic -timeout=2m",
"go list -f '{{.Dir}}/...' -m | xargs go test -run IntegrationRedis -covermode=atomic -timeout=2m",
]
environment = {
@@ -1081,7 +1081,7 @@ def remote_alertmanager_integration_tests_steps():
def memcached_integration_tests_steps():
cmds = [
"go clean -testcache",
"./scripts/go-workspace/test-includes.sh | xargs go test -run IntegrationMemcached -covermode=atomic -timeout=2m",
"go list -f '{{.Dir}}/...' -m | xargs go test -run IntegrationMemcached -covermode=atomic -timeout=2m",
]
environment = {
+1 -1
View File
@@ -156,7 +156,7 @@ def test_backend_step_windows():
"wire-install",
],
"commands": [
"go test -tags requires_buildifier -short -covermode=atomic -timeout=5m ./pkg/...",
"go test -short -covermode=atomic -timeout=5m ./pkg/...",
],
}