Skip to content

Commit

Permalink
use "make test" instead of go test ./...
Browse files Browse the repository at this point in the history
  • Loading branch information
muir committed Sep 21, 2022
1 parent 5d68513 commit 22a87fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test ./...
run: make citest
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ test: $(ZZZGENERATED)
XOPLEVEL_xoptestutil=warn go test -tags xoptesting ./xoptest/xoptestutil -run TestAdjustedLevelLogger -count 1
XOPLEVEL_xoptestutil=debug go test -tags xoptesting ./xoptest/xoptestutil -run TestAdjustedLevelLogger -count 1

citest:
go test ./... -failfast
go test -race ./... -failfast
XOPLEVEL_xoptestutil=warn go test ./xoptest/xoptestutil -run TestAdjustedLevelLogger -count 1
XOPLEVEL_xoptestutil=debug go test ./xoptest/xoptestutil -run TestAdjustedLevelLogger -count 1

${GOBIN}/gofumpt:;
go install mvdan.cc/gofumpt@latest

Expand Down

0 comments on commit 22a87fa

Please sign in to comment.