Skip to content

refactor: add base class ObClient and format code #107

refactor: add base class ObClient and format code

refactor: add base class ObClient and format code #107

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install Poetry
run: |
pip install poetry
- name: Install dependencies
run: |
poetry install
- name: Start OceanBase container
uses: oceanbase/setup-oceanbase-ce@v1
with:

Check failure on line 34 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 34
image_name: 'oceanbase/oceanbase-ce'
image_tag: '4.3.5.3-103000092025080818'
container_name: 'ob435'
mode: 'slim'
init_sql: 'ALTER SYSTEM ob_vector_memory_limit_percentage = 30; create user 'jtuser'@'%'; GRANT SELECT, INSERT, UPDATE, DELETE ON test.* TO 'jtuser'@'%'; FLUSH PRIVILEGES;'
- name: Run tests
run: |
poetry run pytest --log-cli-level=INFO