Skip to content

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

test: add Java test cases for oceanbase-ce

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

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

Check failure on line 20 in .github/workflows/test-oceanbase-ce.yml

View workflow run for this annotation

GitHub Actions / test oceanbase-ce

Invalid workflow file

The workflow is not valid. .github/workflows/test-oceanbase-ce.yml (Line: 20, Col: 18): Unrecognized named-value: 'CACHE_KEY'. Located at position 1 within expression: CACHE_KEY .github/workflows/test-oceanbase-ce.yml (Line: 21, Col: 19): Unrecognized named-value: 'IMAGE_FILE'. Located at position 1 within expression: IMAGE_FILE
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'"