Skip to content

Commit

Permalink
Add CI for spark 3.4 (#47)
Browse files Browse the repository at this point in the history
Signed-off-by: Weichen Xu <[email protected]>
  • Loading branch information
WeichenXu123 authored Mar 1, 2023
1 parent d24ad1a commit 7d52abb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
matrix:
PYTHON_VERSION: ["3.7", "3.8", "3.9", "3.10"]
PIN_MODE: [false, true]
PYSPARK_VERSION: ["3.0.3", "3.1.3", "3.2.3", "3.3.1"]
PYSPARK_VERSION: ["3.0.3", "3.1.3", "3.2.3", "3.3.2", "3.4.0"]
exclude:
- PYSPARK_VERSION: "3.0.3"
PIN_MODE: true
Expand All @@ -25,7 +25,11 @@ jobs:
- name: Install python packages
run: |
pip install joblib>=0.14.0 scikit-learn>=0.23.1 pytest pylint
pip install pyspark==${{ matrix.PYSPARK_VERSION }}
if [ "${{ matrix.PYSPARK_VERSION }}" = "3.4.0" ]; then
pip install https://dist.apache.org/repos/dist/dev/spark/v3.4.0-rc1-bin/pyspark-3.4.0.tar.gz
else
pip install pyspark==${{ matrix.PYSPARK_VERSION }}
fi;
- name: Run pylint
run: |
./run-pylint.sh
Expand Down

0 comments on commit 7d52abb

Please sign in to comment.