Skip to content

Commit

Permalink
build: generate coverage.html when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinkChaos committed Nov 11, 2023
1 parent 311b58d commit bf76cec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ todo.txt
node_modules
package-lock.json
vendor/
coverage.html
coverage.txt
lcov.*
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ endif

test: ## run tests
go run github.com/onsi/ginkgo/v2/ginkgo --label-filter="!e2e" --coverprofile=coverage.txt --covermode=atomic --cover -r ${GINKGO_PROCS}
go tool cover -html coverage.txt -o coverage.html

e2e-test: ## run e2e tests
docker buildx build \
Expand Down

0 comments on commit bf76cec

Please sign in to comment.