diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index aa98fe8..2e640b0 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -29,7 +29,7 @@ jobs: run: go mod download - name: Run tests - run: go test -coverprofile=coverage.txt + run: go test ./... -coverprofile=coverage.txt - name: Upload results to Codecov uses: codecov/codecov-action@v4 diff --git a/Makefile b/Makefile deleted file mode 100644 index b8f7b3b..0000000 --- a/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -.DEFAULT_GOAL := test - -# Run tests and generates html coverage file -cover: test - @go tool cover -html=./cover.text -o ./cover.html - @test -f ./cover.out && rm ./cover.out; -.PHONY: cover - -# Run linters -lint: - @golangci-lint run ./... -.PHONY: lint - -# Run test -test: - @go test ./... - @go test ./... -short -race - @go test ./... -run=NONE -bench=. -benchmem -.PHONY: test - -# Run test-coverage -test-coverage: - @go test -cpu=4 -race -coverprofile=coverage.txt -covermode=atomic -.PHONY: test-coverage