Skip to content

build: add oceanbase-ce CI workflow #1

build: add oceanbase-ce CI workflow

build: add oceanbase-ce CI workflow #1

Workflow file for this run

name: CI - oceanbase-ce
on:
push:
paths:
- '.github/workflows/ci-oceanbase-ce.yml'
- 'oceanbase-ce/**'
pull_request:
paths:
- '.github/workflows/ci-oceanbase-ce.yml'
- 'oceanbase-ce/**'
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Build docker image
run: ./oceanbase-ce/docker_build.sh
- name: Start oceanbase-ce container
uses: oceanbase/setup-oceanbase-ce@v1
with:
image_name: oceanbase-ce
container_name: ob-slim
- name: Test oceanbase-ce container
run: docker exec ob-slim obclient -h127.0.0.1 -P2881 -uroot -e 'select version()'