forked from jorgecarleitao/arrow2
-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (46 loc) · 1.37 KB
/
integration-parquet.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Integration Parquet
on: [push, pull_request]
jobs:
docker:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- 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-parquet-cache-
- name: Cache Rust dependencies
uses: actions/cache@v2
with:
path: /home/runner/target
key: ${{ runner.os }}-amd64-target-parquet-cache
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Build
run: |
export CARGO_HOME="/home/runner/.cargo"
export CARGO_TARGET_DIR="/home/runner/target"
cd arrow-parquet-integration-testing
cargo build
- name: Run
run: |
export CARGO_HOME="/home/runner/.cargo"
export CARGO_TARGET_DIR="/home/runner/target"
cd arrow-parquet-integration-testing
python -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install pyarrow==8 pyspark==3
python main.py
# test against spark
python main_spark.py