Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ jobs:
run: |
make test-api
make test-internal
make test-unit
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@ test-internal: fmt vet copywrite ## Run internal/* tests.
./internal/pointer \
./internal/slice

.PHONY: test-unit
test-unit: fmt vet copywrite ## Run internal/controller tests.
go test ./internal/controller/... \
-timeout 5m \
-count 1 \
-v \
-run="^Test(DoNotRequeue|RequeueAfter|RequeueOnErr|FormatOutput|FinalizerBehaviors|MatchWildcardName|ValidateTFEVersion)$$"

.PHONY: test-helm
test-helm: ## Run Helm chart tests.
cd charts/test; go test -timeout 5m -count=1 -v ./...
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ require (
github.com/onsi/ginkgo/v2 v2.23.4
github.com/onsi/gomega v1.36.3
github.com/prometheus/client_golang v1.22.0
github.com/stretchr/testify v1.11.1
go.uber.org/zap v1.27.0
k8s.io/api v0.34.1
k8s.io/apimachinery v0.34.1
Expand Down
Loading
Loading