Skip to content

test: add Java test cases for oceanbase-ce #18

test: add Java test cases for oceanbase-ce

test: add Java test cases for oceanbase-ce #18

name: test oceanbase-ce
on:
push:
branches: [ main ]
pull_request:
paths:
- '.github/workflows/*oceanbase-ce.yml'
- 'oceanbase-ce/**'
- 'test/**'
env:
CACHE_KEY: oceanbase-ce
IMAGE_FILE: oceanbase-ce.tar
jobs:
build:
uses: ./.github/workflows/build-oceanbase-ce.yml
with:
cache_key: '$CACHE_KEY'
image_file: '$IMAGE_FILE'
test-slim:
needs: build
uses: ./.github/workflows/java-test-oceanbase-ce.yml
with:
cache_key: '$CACHE_KEY'
image_file: '$IMAGE_FILE'
mode: slim
port: 1234
sys_password: ''
test_tenant: test
test_password: 123456
server_ip: 127.0.0.1
rs_list: 127.0.0.1:2882:2881
init_sql: "ALTER USER root IDENTIFIED BY '123456'"