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:
disksing 2021-06-22 15:10:27 +08:00 committed by GitHub
parent e0daaeed39
commit 2c990edf79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -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