build_application #927
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 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Update DuckDB submodule | |
run: | | |
git config --global --add safe.directory '*' | |
make pull | |
- 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 pytest pandas "ibis-framework[duckdb]==3.2.0" "ibis-substrait==2.21.1" "substrait-validator==0.0.11" | |
pip uninstall protobuf -y | |
pip install --no-binary protobuf protobuf | |
- name: Test Python | |
run: | | |
(cd test/python && python -m pytest) |