Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Update changelog, iterate version (#22) #187

Update changelog, iterate version (#22)

Update changelog, iterate version (#22) #187

name: Integration FFI
on: [push, pull_request]
jobs:
docker:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
run: |
rustup toolchain install 1.76.0
rustup default 1.76.0
rustup component add rustfmt clippy
- name: Cache Cargo
uses: actions/cache@v4
with:
path: /home/runner/.cargo
key: cargo-maturin-cache-
- name: Cache Rust dependencies
uses: actions/cache@v4
with:
path: /home/runner/target
key: ${{ runner.os }}-amd64-target-maturin-cache
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install Python dependencies
run: python -m pip install --upgrade pip setuptools wheel
- name: Run tests
run: |
export CARGO_HOME="/home/runner/.cargo"
export CARGO_TARGET_DIR="/home/runner/target"
cd arrow-pyarrow-integration-testing
python -m venv venv
source venv/bin/activate
pip install maturin==0.12.6 toml==0.10.2 pyarrow==14 numpy==1.26.4
cargo update [email protected] --precise 2.4.1
maturin develop
python -m unittest discover tests