Skip to content

Commit 6fea6d3

Browse files
authored
Merge pull request #3012 from ascerra/offboard-sealights
Remove all Sealights integrations
2 parents 6cc7649 + c584a33 commit 6fea6d3

File tree

2 files changed

+0
-212
lines changed

2 files changed

+0
-212
lines changed

.github/workflows/checks-sealights.yaml

Lines changed: 0 additions & 198 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ TEST_OUTPUT_FILTER=grep -vE '0.0% of statements|\[no test files\]'
102102
.PHONY: test
103103
test: ## Run all unit tests
104104
@echo "Unit tests:"
105-
# The timeout here was previously 1 second, but we've made it longer because we were seeing timeouts when testing with Sealights
106105
@set -o pipefail && go test -race -covermode=atomic -coverprofile=coverage-unit.out -timeout 10s -tags=unit ./... | $(TEST_OUTPUT_FILTER)
107106
@echo "Integration tests:"
108107
@set -o pipefail && go test -race -covermode=atomic -coverprofile=coverage-integration.out -timeout 15s -tags=integration ./... | $(TEST_OUTPUT_FILTER)
@@ -131,19 +130,6 @@ acceptance: ## Run all acceptance tests
131130
cd acceptance && go test -coverprofile "$$ACCEPTANCE_WORKDIR/coverage-acceptance.out" -timeout $(ACCEPTANCE_TIMEOUT) ./... && \
132131
go run -modfile "$$ACCEPTANCE_WORKDIR/tools/go.mod" github.com/wadey/gocovmerge "$$ACCEPTANCE_WORKDIR/coverage-acceptance.out" > "$(ROOT_DIR)/coverage-acceptance.out"
133132

134-
acceptance-sealights: ## Run all acceptance tests with sealights integration
135-
@ACCEPTANCE_WORKDIR="$$(mktemp -d)"; \
136-
cleanup() { \
137-
cp "$${ACCEPTANCE_WORKDIR}"/features/__snapshots__/* "$(ROOT_DIR)"/features/__snapshots__/; \
138-
}; \
139-
trap cleanup EXIT; \
140-
cp -R . "$$ACCEPTANCE_WORKDIR"; \
141-
cd "$$ACCEPTANCE_WORKDIR" && \
142-
$(MAKE) build && \
143-
export COVERAGE_FILEPATH="$$ACCEPTANCE_WORKDIR"; \
144-
export COVERAGE_FILENAME="-acceptance"; \
145-
cd acceptance && SEALIGHTS_LOG_LEVEL=none go run -modfile "$$ACCEPTANCE_WORKDIR/tools/go.mod" gotest.tools/gotestsum --junitfile "$(ROOT_DIR)/junit-acceptance.xml" -- -parallel 1 -timeout $(ACCEPTANCE_TIMEOUT) ./...
146-
147133
# Add @focus above the feature you're hacking on to use this
148134
# (Mainly for use with the feature-% target below)
149135
.PHONY: focus-acceptance

0 commit comments

Comments
 (0)