Skip to content

Commit

Permalink
ci: integration test with local unistore (tikv#102)
Browse files Browse the repository at this point in the history
Signed-off-by: disksing <[email protected]>

Co-authored-by: Shirly <[email protected]>
Signed-off-by: tiancaiamao <[email protected]>
  • Loading branch information
2 people authored and tiancaiamao committed Jul 8, 2021
1 parent 29ac38b commit fb5e311
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fb5e311

Please sign in to comment.