-
Notifications
You must be signed in to change notification settings - Fork 49
35 lines (33 loc) · 1.1 KB
/
run_integration_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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