Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Add a "contains" fast-path to like_utf8_scalar #5855

Add a "contains" fast-path to like_utf8_scalar

Add a "contains" fast-path to like_utf8_scalar #5855

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