Skip to content

refactor!: New mod transforms for expression and schema transforms … #1

refactor!: New mod transforms for expression and schema transforms …

refactor!: New mod transforms for expression and schema transforms … #1

name: Run tests to ensure we can compile across arrow versions
on: [workflow_dispatch, push, pull_request, merge_group]
jobs:
arrow_integration_test:
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
include:
- os: macOS-latest
- os: ubuntu-latest
- os: windows-latest
skip: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }} # skip running windows tests on PRs and merge queue since they are slow
steps:
- name: Skip job for pull requests on Windows
if: ${{ matrix.skip }}
run: echo "Skipping job for pull requests on Windows."
- uses: actions/checkout@v4
if: ${{ !matrix.skip }}
- name: Setup rust toolchain
if: ${{ !matrix.skip }}
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
# See build.yml top-level comment for why save-if is restricted to main.
- uses: Swatinem/rust-cache@v2
if: ${{ !matrix.skip }}
with:
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
- name: Run integration tests
if: ${{ !matrix.skip }}
shell: bash
run: pushd integration-tests && ./test-all-arrow-versions.sh