arrow2 0.18.0 release #531
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: 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 stable | |
rustup default stable | |
rustup component add rustfmt clippy | |
- name: Cache Cargo | |
uses: actions/cache@v2 | |
with: | |
path: /home/runner/.cargo | |
key: cargo-maturin-cache- | |
- name: Cache Rust dependencies | |
uses: actions/cache@v2 | |
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==6 | |
maturin develop | |
python -m unittest discover tests |