Skip to content

Commit

Permalink
Add ibis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
grieve54706 committed May 30, 2024
1 parent 85c7b67 commit 06b9e51
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ibis-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: ibis CI

on:
pull_request:
paths:
- 'ibis-server/**'

concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}
cancel-in-progress: true

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version-file: ./ibis-server/pyproject.toml
- uses: abatilo/actions-poetry@v2
- name: Setup a local virtual environment
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- uses: actions/cache@v4
name: Define a cache for the virtual environment based on the dependencies lock file
with:
path: ./.venv
key: venv-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
working-directory: ibis-server
run: make install
- name: Start Wren JAVA engine
run: |
cd ./example/duckdb-tpch-example && docker compose --env-file .env up -d
- name: Run tests
env:
WREN_ENGINE_ENDPOINT: http://localhost:8080
run: make test

0 comments on commit 06b9e51

Please sign in to comment.