mirror of https://github.com/tikv/client-go.git
ci: integration test with local unistore (#102)
Signed-off-by: disksing <i@disksing.com> Co-authored-by: Shirly <AndreMouche@126.com>
This commit is contained in:
parent
e0daaeed39
commit
2c990edf79
|
|
@ -7,6 +7,22 @@ on:
|
|||
branches: [ v2 ]
|
||||
|
||||
jobs:
|
||||
|
||||
integration-local:
|
||||
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
|
||||
working-directory: integration_tests
|
||||
|
||||
integration-tikv:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
@ -41,6 +57,7 @@ jobs:
|
|||
./tikv-server -C tikv.toml > tikv.log 2>&1 &
|
||||
sleep 15
|
||||
working-directory: integration_tests
|
||||
|
||||
- name: Test
|
||||
run: go test -v --with-tikv=true --pd-addrs=127.0.0.1:2379
|
||||
working-directory: integration_tests
|
||||
|
|
|
|||
Loading…
Reference in New Issue