fix(ci): replace drone with gitea actions
Markdown linter / markdown-lint (push) Successful in 11s
Golang Tests / unittest (push) Successful in 43s

This commit is contained in:
volker.raschek committed 2025-05-13 20:28:50 +02:00
1 parent a91d50bc29
commit 756d668fc9
10 files changed
+285 -717

No files matched your search

+15
View File
@@ -20,12 +20,27 @@ all: clean ${EXECUTABLE_TARGETS}
getpsrc:
go build -tags netgo -ldflags "-X main.version=${VERSION}" -o ${@} main.go
# CLEAN
# ==============================================================================
PHONY+=clean
clean:
rm -f -r $(shell pwd)/getpsrc*
# TESTS
# ==============================================================================
PHONY+=test/unit
test/unit:
CGO_ENABLED=0 \
GOPROXY=$(shell go env GOPROXY) \
go test -v -p 1 -coverprofile=coverage.txt -covermode=count -timeout 1200s ./...
PHONY+=test/coverage
test/coverage: test/unit
CGO_ENABLED=0 \
GOPROXY=$(shell go env GOPROXY) \
go tool cover -html=coverage.txt
# GOLANGCI-LINT
# ==============================================================================
PHONY+=golangci-lint