Skip to content

Commit

Permalink
update go.yml set CI=true for go test
Browse files Browse the repository at this point in the history
  • Loading branch information
fanweixiao committed Mar 22, 2024
1 parent 54ef06c commit d2c8c05
Showing 1 changed file with 1 addition 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 @@ -17,7 +17,7 @@ jobs:
go-version: "1.21"

- name: Test
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v /example)
run: CI=true go test -v -race -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v /example)

- name: Build
run: go build $(go list ./... | grep -v /example)
Expand Down

0 comments on commit d2c8c05

Please sign in to comment.