diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Makefile | 6 |
2 files changed, 2 insertions, 5 deletions
@@ -1,7 +1,6 @@ # SPDX-License-Identifier: GPL-3.0-only # SPDX-FileCopyrightText: 2026 M. Shulhan <ms@kilabit.info> -_coverage/ _doc/index.html cover.html cover.out @@ -11,10 +11,8 @@ lint: .PHONY: test test: - mkdir -p _coverage - go test -cover ./... -test.gocoverdir=_coverage - go tool covdata textfmt -i=_coverage -o cover.txt - go tool cover -html=cover.txt -o cover.html + CGO_ENABLED=1 go test -race -coverprofile=cover.out ./... + go tool cover -html=cover.out -o cover.html .PHONY: pre-push pre-push: |
