build(deps): update datafusion requirement from 41 to 43 #468
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
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Run clippy | |
run: cargo clippy --all-targets --all-features -- -D warnings | |
# setup a virtual environment | |
- name: Setup Python and Run Tests | |
env: | |
AWS_DEFAULT_REGION: us-west-2 | |
AWS_ACCESS_KEY_ID: test | |
AWS_SECRET_ACCESS_KEY: test | |
AWS_ENDPOINT_URL: http://localhost:4566 | |
AWS_ENDPOINT: http://localhost:4566 | |
AWS_ALLOW_HTTP: true | |
run: | | |
python -m pip install --upgrade pip | |
pip install virtualenv | |
virtualenv venv | |
source venv/bin/activate | |
pip install -r requirements-dev.txt | |
ruff check python/ | |
cargo build | |
# Develop and test w/o extras | |
maturin develop --extras polars | |
# Run tests | |
bash bin/test.sh |