test: Port cdf tests from delta-spark to kernel #838
Workflow file for this run
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: Run tests to ensure we can compile across arrow versions | |
on: [workflow_dispatch, push, pull_request] | |
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' }} # skip running windows tests on every PR 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@v3 | |
if: ${{ !matrix.skip }} | |
- name: Install minimal stable rust | |
if: ${{ !matrix.skip }} | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: default | |
toolchain: stable | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
if: ${{ !matrix.skip }} | |
- name: Run integration tests | |
if: ${{ !matrix.skip }} | |
shell: bash | |
run: pushd integration-tests && ./test-all-arrow-versions.sh |