This is an automated email from the ASF dual-hosted git repository.
xushiyan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hudi-rs.git
The following commit(s) were added to refs/heads/main by this push:
new f73609c chore(ci): update python test setup and upload nightly wheels
(#320)
f73609c is described below
commit f73609cd15ed105e2b904ae8f20b6f3c2182cfd7
Author: Shiyan Xu <[email protected]>
AuthorDate: Sun Apr 13 14:51:09 2025 -0500
chore(ci): update python test setup and upload nightly wheels (#320)
Update CI for python testing.
Add a job to upload nightly wheels for download.
---
.github/workflows/ci.yml | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6c39868..c492dc0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -81,10 +81,14 @@ jobs:
fail-fast: false
matrix:
# TODO: add windows
- os: [ ubuntu-22.04, macos-14 ]
+ os: [ ubuntu-24.04, ubuntu-22.04-arm, macos-15 ]
python-version: [ '3.9', '3.12' ]
exclude:
- - os: macos-14
+ - os: ubuntu-24.04
+ python-version: '3.9'
+ - os: ubuntu-22.04-arm
+ python-version: '3.12'
+ - os: macos-15
python-version: '3.9'
runs-on: ${{ matrix.os }}
steps:
@@ -99,6 +103,7 @@ jobs:
run: |
make setup-venv
source venv/bin/activate
+ make build
make develop
- name: Python unit tests with coverage report
run: |
@@ -107,11 +112,17 @@ jobs:
coverage xml --data-file=.coverage -o
./cov-reports/cov-report-python-tests-${{ join(matrix.*, '-') }}.xml
- name: Upload coverage report
uses: actions/upload-artifact@v4
- if: ${{ (matrix.os == 'ubuntu-22.04') && (matrix.python-version ==
'3.9') }}
+ if: ${{ (matrix.os == 'ubuntu-24.04') && (matrix.python-version ==
'3.12') }}
with:
name: cov-report-python-tests-${{ join(matrix.*, '-') }}
path: ./cov-reports
if-no-files-found: 'error'
+ - name: Upload wheel files
+ uses: actions/upload-artifact@v4
+ with:
+ name: python-artifact-${{ join(matrix.*, '-') }}
+ path: ./target/wheels/*.whl
+ if-no-files-found: 'error'
integration-tests:
runs-on: ubuntu-latest