Skip to content

Commit

Permalink
Merge branch 'main' into test-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitsh authored May 16, 2024
2 parents 69cd14e + e3d5e67 commit 7840d37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/bin
/venv
/coverage.out

6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ clean:
.PHONY: test
test:
@echo running tests
go test ./...
go test -coverprofile=coverage.out -covermode=atomic ./...

.PHONY: fmt
fmt:
Expand All @@ -60,6 +60,10 @@ lint:
mod:
go mod tidy

.PHONY: coverage
coverage: test
go tool cover -func=coverage.out

.PHONY: image-build
image-build: build
$(DOCKER_BIN) build -t $(IMAGE_REPO):$(IMAGE_TAG) -f ./Dockerfile .
Expand Down

0 comments on commit 7840d37

Please sign in to comment.