mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
ci updates
This commit is contained in:
8
.github/workflows/gf.yml
vendored
8
.github/workflows/gf.yml
vendored
@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user