Skip to content

feat(ClickHouse): Add ClickHouse dialect with native JSON traits #24

feat(ClickHouse): Add ClickHouse dialect with native JSON traits

feat(ClickHouse): Add ClickHouse dialect with native JSON traits #24

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [ main ]
jobs:
ci:
name: CI
runs-on: ubuntu-latest
env:
SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }}
SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }}
SNOWFLAKE_ROLE: ${{ secrets.SNOWFLAKE_ROLE }}
SNOWFLAKE_WAREHOUSE: ${{ secrets.SNOWFLAKE_WAREHOUSE }}
SNOWFLAKE_DATABASE: ${{ secrets.SNOWFLAKE_DATABASE }}
SNOWFLAKE_SCHEMA: ${{ secrets.SNOWFLAKE_SCHEMA }}
SNOWFLAKE_PRIVATE_KEY_PATH: /tmp/snowflake_pk.p8
CLICKHOUSE_HOST: localhost
CLICKHOUSE_PORT: "8123"
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- run: make lint
- run: make typecheck
- name: Write Snowflake key file
run: |
umask 077
printf '%s' "${{ secrets.SNOWFLAKE_PRIVATE_KEY }}" > /tmp/snowflake_pk.p8
- name: Start ClickHouse
run: docker compose up --detach --wait clickhouse
- run: make test
- name: Check Coverage
uses: 5monkeys/cobertura-action@v14
with:
minimum_coverage: 100
fail_below_threshold: true
show_missing: true