1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00

Add basic testing for google cloud KMS

This commit is contained in:
Calin Don
2017-09-11 22:21:46 +03:00
parent 0a0a803f77
commit f57598d02c
2 changed files with 37 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ test:
gpg --import pgp/sops_functional_tests_key.asc 2>&1 1>/dev/null || exit 0
$(GO) test $(PROJECT)/pgp -coverprofile=coverage_tmp.txt -covermode=atomic && cat coverage_tmp.txt >> coverage.txt
$(GO) test $(PROJECT)/kms -coverprofile=coverage_tmp.txt -covermode=atomic && cat coverage_tmp.txt >> coverage.txt
$(GO) test $(PROJECT)/cloudkms -coverprofile=coverage_tmp.txt -covermode=atomic && cat coverage_tmp.txt >> coverage.txt
showcoverage: test
$(GO) tool cover -html=coverage.out