Skip to content

chore: update datafusion to 41.0.0 (#89) #323

chore: update datafusion to 41.0.0 (#89)

chore: update datafusion to 41.0.0 (#89) #323

Workflow file for this run

name: Run tests
on:
pull_request:
push:
branches: [ main ]
tags: [ 'v*.*.*' ]
permissions:
contents: read
jobs:
test:
name: Test
strategy:
max-parallel: 5
matrix:
os: [macos-latest, ubuntu-latest]
source: ["general", "spark", "gateway-over-duckdb", "gateway-over-datafusion"]
class: ["sql", "-sql"]
python: ["3.10"]
architecture: ["x64"]
exclude:
- source: general
class: sql
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install packages and test dependencies
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: spark-substrait-gateway-env
environment-file: environment.yml
python-version: ${{ matrix.python }}
auto-activate-base: false
miniforge-version: "latest"
- name: Build
shell: bash -el {0}
run: |
pip install -e .
- name: Run tests
shell: bash -el {0}
id: run_tests
run: |
UPDATED_CLASS=${{ matrix.class }}
if [[ $UPDATED_CLASS == -* ]] ;
then
UPDATED_CLASS="not ${UPDATED_CLASS#-}"
fi
pytest -m "${{ matrix.source }} and $UPDATED_CLASS"