Makefile: add target richtest (#1865)

Don't require contributors to install richgo but keep it as an option and for CI
This commit is contained in:
Unai Martinez-Corral
2022-11-25 20:55:09 +00:00
committed by GitHub
parent c6b9971923
commit 6200c8e551
2 changed files with 6 additions and 6 deletions

View File

@ -88,7 +88,7 @@ jobs:
go install github.com/kyoh86/richgo"${_version}"
go install github.com/mitchellh/gox"${_version}"
- run: RICHGO_FORCE_COLOR=1 PATH=$HOME/go/bin/:$PATH make test
- run: RICHGO_FORCE_COLOR=1 PATH=$HOME/go/bin/:$PATH make richtest
test-win:
@ -125,4 +125,4 @@ jobs:
go install github.com/kyoh86/richgo@latest
go install github.com/mitchellh/gox@latest
- run: RICHGO_FORCE_COLOR=1 PATH=$HOME/go/bin:$PATH make test
- run: RICHGO_FORCE_COLOR=1 PATH=$HOME/go/bin:$PATH make richtest