Skip to content

Commit 9529bea

Browse files
committed
Installing maturin for ffi test in test script
1 parent a0a39fd commit 9529bea

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,7 @@ jobs:
158158
- name: Build Python package
159159
run: |
160160
maturin build --release --strip --features substrait
161-
cd examples/ffi-table-provider
162-
maturin build --release --strip
161+
163162
- name: List Mac wheels
164163
run: find target/wheels/
165164

.github/workflows/test.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,15 @@ jobs:
109109
source venv/bin/activate
110110
pip install -e . -vv
111111
pytest -v .
112-
pytest examples/ffi-table-provider/python/tests/_test_table_provider.py
112+
113+
- name: FFI unit tests
114+
run: |
115+
source venv/bin/activate
116+
pip install -e . -vv
117+
pip install maturin==1.5.1
118+
cd examples/ffi-table-provider
119+
maturin build --release --strip
120+
pytest python/tests/_test_table_provider.py
113121
114122
- name: Cache the generated dataset
115123
id: cache-tpch-dataset

0 commit comments

Comments
 (0)