SHELL := /bin/bash .PHONY: coverage test: go test ./... ci-coverage: [[ -d coverage ]] || mkdir coverage podman build --tag tmpl-coverage . podman run --interactive --tty --rm --volume $$(pwd)/coverage:/app/coverage tmpl-coverage make coverage coverage: [[ -d coverage ]] || mkdir coverage go test -coverpkg=./... -coverprofile=coverage/index.out ./... go tool cover -html=coverage/index.out -o coverage/index.html