mirror of
https://github.com/rjNemo/go-pass-gen
synced 2026-06-06 02:46:40 +00:00
chore: test with coverage
This commit is contained in:
parent
84bc9ee259
commit
2c5ad0984d
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -13,4 +13,7 @@ run-web:
|
|||
web:
|
||||
cd client && npm run start
|
||||
|
||||
.PHONY: lint run dev run-web
|
||||
test:
|
||||
go test -json -count=1 ./... -coverpkg=./... -coverprofile coverage.txt -covermode=atomic | gotestfmt && go tool cover -html coverage.txt && rm coverage.txt
|
||||
|
||||
.PHONY: lint run dev run-web test
|
||||
Loading…
Reference in a new issue