Skip to content

Commit 151a0e2

Browse files
andygroveedmondop
andauthored
Upgrade to DataFusion 43, fix a bug, add more tests (#53)
* Implementing Unit testing for Python * Installing all deps in CI * Adding maturin develop * Restoring correct input partitioning * Generated new plans * Restored test plans for ignored tests * tests * fix * fix * update expected plans * update expected plans * revert some changes * remove comment * updated plans * upgrade to DF 43 * update deps, more tests * bug fix --------- Co-authored-by: Edmondo Porcu <[email protected]>
1 parent 31f8833 commit 151a0e2

31 files changed

+346
-280
lines changed

.github/workflows/rust.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
runs-on: ubuntu-latest
3333

3434
steps:
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3636
- name: Install protobuf compiler
3737
shell: bash
3838
run: sudo apt-get install protobuf-compiler
3939
- name: Build Rust code
4040
run: cargo build --verbose
4141
- name: Set up Python
42-
uses: actions/setup-python@v2
42+
uses: actions/setup-python@v5
4343
with:
4444
python-version: ${{ env.PYTHON_VERSION }}
4545
- name: Install test dependencies
@@ -49,5 +49,12 @@ jobs:
4949
- name: Generate test data
5050
run: |
5151
./scripts/gen-test-data.sh
52-
- name: Run tests
52+
- name: Run Rust tests
5353
run: cargo test --verbose
54+
- name: Run Python tests
55+
run: |
56+
python -m venv venv
57+
source venv/bin/activate
58+
pip install -r requirements-in.txt
59+
maturin develop
60+
python -m pytest

0 commit comments

Comments
 (0)