ci updates

This commit is contained in:
John Guo
2022-05-11 17:11:18 +08:00
parent 0826f8ba35
commit b16cd2dc85

View File

@ -123,7 +123,7 @@ jobs:
go mod tidy
go build ./...
GOARCH=386 go test ./... || exit 1
GOARCH=amd64 go test ./... -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,github.com/gogf/gf/v2/... || exit 1
GOARCH=amd64 go test ./... -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,github.com/gogf/gf/... || exit 1
- name: Example Build & Test
run: |
@ -131,7 +131,7 @@ jobs:
go mod tidy
go build ./...
GOARCH=386 go test ./... || exit 1
GOARCH=amd64 go test ./... -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,github.com/gogf/gf/v2/... || exit 1
GOARCH=amd64 go test ./... -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,github.com/gogf/gf/... || exit 1
- name: Contrib Build & Test
run: |
@ -146,7 +146,7 @@ jobs:
go mod tidy
go build ./...
GOARCH=386 go test ./... || exit 1
GOARCH=amd64 go test ./... -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,github.com/gogf/gf/v2/... || exit 1
GOARCH=amd64 go test ./... -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,github.com/gogf/gf/... || exit 1
cd -
done
@ -154,7 +154,7 @@ jobs:
run: |
go build ./...
GOARCH=386 go test -v ./... || exit 1
GOARCH=amd64 go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,github.com/gogf/gf/v2/... || exit 1
GOARCH=amd64 go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic || exit 1
# - name: Merge Coverage
# run: |