Skip to content

Commit

Permalink
PMM-13132 Basic makefile for encryption-rotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriCtvrtka committed Sep 19, 2024
1 parent d5e479d commit 7ff24b6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions encryption-rotation/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
default: run

PMM_TEST_FLAGS ?= -timeout=180s
PMM_TEST_FILES ?= ./...

run:
go run main.go

release:
go build

test: ## Run tests
go test $(PMM_TEST_FLAGS) -p 1 -race $(PMM_TEST_FILES)

test-cover: ## Run tests and collect per-package coverage information
go test $(PMM_TEST_FLAGS) -p 1 -race -coverprofile=cover.out -covermode=atomic -coverpkg=$(PMM_TEST_FILES) $(PMM_TEST_FILES)

0 comments on commit 7ff24b6

Please sign in to comment.