Skip to content

Enable filter pushdown in spicepod defined UDTFs (#11004) #345

Enable filter pushdown in spicepod defined UDTFs (#11004)

Enable filter pushdown in spicepod defined UDTFs (#11004) #345

---
name: ADBC integration tests
on:
push:
branches:
- trunk
- release/*
pull_request:
branches:
- trunk
- release-*
- release/*
- feature-*
merge_group:
branches:
- trunk
- release-*
- release/*
- feature-*
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_name == 'trunk' && github.sha || 'any-sha' }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
CARGO_NET_RETRY: 10
CARGO_HTTP_TIMEOUT: 60
CARGO_INCREMENTAL: 0
CARGO_NET_GIT_FETCH_WITH_CLI: true
jobs:
check_changes:
runs-on: spiceai-dev-runners
outputs:
relevant_changes: ${{ steps.check.outputs.relevant_changes }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}
- name: Check for code changes
id: check
uses: ./.github/actions/check-code-changes
test:
name: ADBC Integration Tests
needs: check_changes
if: needs.check_changes.outputs.relevant_changes == 'true'
runs-on: spiceai-dev-runners
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
fetch-depth: 1
- name: Cache Cargo registry
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Set up Rust
uses: ./.github/actions/setup-rust
- name: Set up make
uses: ./.github/actions/setup-make
- name: Set up cc
uses: ./.github/actions/setup-cc
- name: Install protoc
uses: ./.github/actions/install-protoc
- name: Set up sccache
uses: ./.github/actions/setup-sccache
with:
minio_endpoint: ${{ secrets.TEST_MINIO_ENDPOINT }}
- name: Set up ADBC drivers
uses: columnar-tech/setup-dbc@4d83cce5bf2aa1e46eedbe44f13b57bbef8f2baf # v1.0.2
with:
drivers: 'sqlite'
- name: Run ADBC integration tests
env:
CARGO_INCREMENTAL: 0
RUSTC_WRAPPER: sccache
AWS_ACCESS_KEY_ID: ${{ secrets.TEST_MINIO_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.TEST_MINIO_SECRET_KEY }}
run: |
cargo test -p runtime --features adbc --test integration -- adbc::