mirror of https://github.com/tikv/client-go.git
add race tests (#149)
Signed-off-by: disksing <i@disksing.com> Co-authored-by: Shirly <AndreMouche@126.com>
This commit is contained in:
parent
91f6353565
commit
2db51094d9
|
|
@ -23,6 +23,21 @@ jobs:
|
|||
run: go test -v
|
||||
working-directory: integration_tests
|
||||
|
||||
integration-local-race:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16
|
||||
|
||||
- name: Test
|
||||
run: go test -v -race
|
||||
working-directory: integration_tests
|
||||
|
||||
integration-tikv:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -20,6 +20,19 @@ jobs:
|
|||
- name: Test
|
||||
run: go test -v ./...
|
||||
|
||||
race-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16
|
||||
|
||||
- name: Test with race
|
||||
run: go test -v -race ./...
|
||||
|
||||
golangci:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Reference in New Issue