Skip to content

Commit 79030b8

Browse files
authored
Helm unit tests (nginx#6895)
1 parent 59cae6b commit 79030b8

14 files changed

+4664
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ repos:
1717
- id: check-merge-conflict
1818
- id: check-shebang-scripts-are-executable
1919
- id: check-executables-have-shebangs
20+
exclude: '(\.snap)$'
2021
- id: check-symlinks
2122
- id: check-case-conflict
2223
- id: check-vcs-permalinks

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ staticcheck: ## Run staticcheck linter
7171

7272
.PHONY: test
7373
test: ## Run GoLang tests
74-
go test -tags=aws -shuffle=on -race -coverprofile=coverage.txt -covermode=atomic ./...
74+
go test -tags=aws,helmunit -shuffle=on -race -coverprofile=coverage.txt -covermode=atomic ./...
7575

7676
.PHONY: test-update-snaps
7777
test-update-snaps:
78-
UPDATE_SNAPS=true go test -tags=aws -shuffle=on -race ./...
78+
UPDATE_SNAPS=true go test -tags=aws,helmunit -shuffle=on -race ./...
7979

8080
cover: test ## Generate coverage report
8181

0 commit comments

Comments
 (0)