chore: exclude e2e test packages from unit test workflow (#6559)
This commit is contained in:
1 parent
0ad2bb65dc
commit
6be0dacda5
3 files changed
+2
-4
No files matched your search
@@ -191,7 +191,6 @@ jobs:
|
||||
- name: Test
|
||||
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
|
||||
env:
|
||||
TEST_PACKAGE: "./..."
|
||||
TEST_TIMEOUT: 120m
|
||||
TESTARGS: -race -v
|
||||
with:
|
||||
|
||||
@@ -189,7 +189,6 @@ jobs:
|
||||
- name: Test
|
||||
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
|
||||
env:
|
||||
TEST_PACKAGE: "./..."
|
||||
TESTARGS: -v
|
||||
TEST_TIMEOUT: 40m
|
||||
with:
|
||||
|
||||
@@ -6,7 +6,7 @@ THIS_DIR := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||
TMP_DIR := $(shell mktemp -d)
|
||||
REPO_PATH := github.com/hashicorp/boundary
|
||||
|
||||
TEST_PACKAGE ?= ./...
|
||||
TEST_PACKAGE ?= $(shell go list ./... | grep -v '/e2e')
|
||||
TEST_TIMEOUT ?= 30m
|
||||
|
||||
CGO_ENABLED?=0
|
||||
@@ -331,7 +331,7 @@ test-sql:
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
go test "$(TEST_PACKAGE)" -tags="$(BUILD_TAGS)" $(TESTARGS) -json -cover -timeout $(TEST_TIMEOUT) | tparse -follow
|
||||
go test $(TEST_PACKAGE) -tags="$(BUILD_TAGS)" $(TESTARGS) -json -cover -timeout $(TEST_TIMEOUT) | tparse -follow
|
||||
|
||||
.PHONY: test-sdk
|
||||
test-sdk:
|
||||
|
||||
Reference in new issue
Block a user