This commit is contained in:
admju
2024-09-09 10:11:10 +00:00
parent 53a614bd7e
commit a1af83689d
6 changed files with 65 additions and 14 deletions

View File

@@ -70,6 +70,11 @@ clean:
@rm -rf workspace_*
.PHONY: test
test_%:
go test oc-deploy/$(subst test_,,$@) -coverprofile=.coverage.out -v
@go tool cover -html=.coverage.out -o .coverage.html
test:
@go test ./... -coverprofile=.coverage.out -v
go tool cover -html=.coverage.out -o .coverage.html