Skip to content

fix: remove useless test case #106

fix: remove useless test case

fix: remove useless test case #106

Workflow file for this run

name: CI TEST
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
services:
databend:
image: datafuselabs/databend
env:
QUERY_DEFAULT_USER: databend
QUERY_DEFAULT_PASSWORD: databend
MINIO_ENABLED: true
ports:
- 8000:8000
- 9000:9000
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Pip Install
run: |
pip install pipenv
pipenv install --dev --skip-lock
- name: Verify Service Running
run: |
cid=$(docker ps -a | grep databend | cut -d' ' -f1)
docker logs ${cid}
curl -v http://localhost:8000/v1/health
- name: SQLAlchemy Test Suite
env:
TEST_DATABEND_DSN: "databend://databend:databend@localhost:8000/default?sslmode=disable"
run: |
pipenv run pytest -s .