Skip to content
Myr

Makefile: add target richtest (#1865)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Don't require contributors to install richgo but keep it as an option and for CI

authored by Unai Martinez-Corral · committed by GitHub · parent c6b9971 · Browse files · 2 files+6 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+6 added−6 removed

  • other:+6 added−6 removed

2 files+6 added−6 removed

modified:.github/workflows/test.yml+2 added-2 removed
modified:Makefile+4 added-4 removed
3 unmodified lines
4ifeq (, $(shell which golangci-lint))5$(warning "could not find golangci-lint in $(PATH), run: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh")6endif78ifeq (, $(shell which richgo))9$(warning "could not find richgo in $(PATH), run: go install github.com/kyoh86/richgo@latest")10endif118.PHONY: fmt lint test install_deps clean910default: all11
8 unmodified lines
20 golangci-lint run -v2122test: install_deps23 $(info ******************** running tests ********************)24 go test -v ./...2526richtest: install_deps27 $(info ******************** running tests with kyoh86/richgo ********************)28 richgo test -v ./...2930install_deps:31 $(info ******************** downloading dependencies ********************)
4 unmodified lines