Add support for to_substrait and from_substrait for virtual table exp… #1457
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request,repository_dispatch] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
python: | |
name: Python | |
runs-on: macos-latest | |
env: | |
GEN: ninja | |
steps: | |
- name: Install Ninja | |
run: brew install ninja | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Build DuckDB (Python) | |
run: | | |
cd duckdb/tools/pythonpkg | |
python3 -m pip install . | |
- name: Build Substrait | |
run: make release | |
- name: Install Python Dependencies | |
shell: bash | |
run: | | |
pip install -r test/python/requirements-dev.txt | |
pip uninstall protobuf -y | |
pip install --no-binary protobuf protobuf | |
- name: Test Python | |
run: | | |
(cd test/python && python -m pytest) |