Skip to content

Commit f1948a3

Browse files
committed
tests: ignore env var SOPS_AGE_KEY_FILE
Why: * setting the variable SOPS_AGE_KEY_FILE will make tests fail Signed-off-by: Sebastien Duthil <duthils@duthils.net>
1 parent 4ad518f commit f1948a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ checkmd: $(MD_FILES)
6767
.PHONY: test
6868
test: vendor
6969
gpg --import pgp/sops_functional_tests_key.asc 2>&1 1>/dev/null || exit 0
70-
LANG=en_US.UTF-8 $(GO) test $(GO_TEST_FLAGS) ./...
70+
unset SOPS_AGE_KEY_FILE; LANG=en_US.UTF-8 $(GO) test $(GO_TEST_FLAGS) ./...
7171

7272
.PHONY: showcoverage
7373
showcoverage: test

0 commit comments

Comments
 (0)