move ut cases from package gdb to contrib/drivers/mysql

This commit is contained in:
John Guo
2022-05-10 15:38:08 +08:00
parent 2cbfdf43cf
commit dc6a9237d7
43 changed files with 945 additions and 1516 deletions

View File

@ -140,17 +140,18 @@ jobs:
cd $path
go mod tidy
go build ./...
go test ./...
GOARCH=386 go test ./... -race -coverprofile=coverage.txt -covermode=atomic || exit 1
GOARCH=amd64 go test ./... -race -coverprofile=coverage.txt -covermode=atomic || exit 1
cd -
done
- name: Run i386 Arch Test
run: |
GOARCH=386 go test -v ./... || exit 1
GOARCH=386 go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic || exit 1
- name: Run amd64 Arch Test
run: |
GOARCH=amd64 go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic
GOARCH=amd64 go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic || exit 1
- name: Report Coverage
uses: codecov/codecov-action@v2