@@ -3,9 +3,9 @@ name: Python CI
33on :
44 push :
55 branches :
6- - ' *'
7- pull_request :
8- types : ['opened', 'reopened', 'synchronize']
6+ - ' ** '
7+ # pull_request:
8+ # types: ['opened', 'reopened', 'synchronize']
99
1010concurrency :
1111 group : ${{ github.workflow }}-${{ github.ref }}
@@ -75,25 +75,25 @@ jobs:
7575 strategy :
7676 fail-fast : false
7777 matrix :
78- os : ["ubuntu-latest", "macos-14", "windows-latest"]
79- python-version : ["3.9", "3.10", "3.11", "3.12"]
78+ # os: ["ubuntu-latest", "macos-14", "windows-latest"]
79+ # python-version: ["3.9", "3.10", "3.11", "3.12"]
8080 module : ["xorbits"]
8181 exclude :
8282 - { os: macos-14, python-version: 3.10}
8383 - { os: macos-14, python-version: 3.9}
8484 - { os: windows-latest, python-version: 3.10}
8585 - { os: windows-latest, python-version: 3.9}
8686 include :
87- - { os: ubuntu-latest, module: _mars/dataframe, python-version: "3.11" }
88- - { os: ubuntu-latest, module: learn, python-version: "3.11" }
89- - { os: ubuntu-latest, module: mars-core, python-version: "3.11" }
90- - { os: ubuntu-20.04, module: hadoop, python-version: "3.10" }
91- - { os: ubuntu-latest, module: vineyard, python-version: "3.11" }
87+ # - { os: ubuntu-latest, module: _mars/dataframe, python-version: "3.11" }
88+ # - { os: ubuntu-latest, module: learn, python-version: "3.11" }
89+ # - { os: ubuntu-latest, module: mars-core, python-version: "3.11" }
90+ # - { os: ubuntu-20.04, module: hadoop, python-version: "3.10" }
91+ # - { os: ubuntu-latest, module: vineyard, python-version: "3.11" }
92+ # - { os: ubuntu-latest, module: doc-build, python-version: "3.11" }
93+ # - { os: self-hosted, module: gpu, python-version: "3.11" }
94+ # - { os: ubuntu-latest, module: jax, python-version: "3.10" }
95+ # - { os: ubuntu-latest, module: datasets, python-version: "3.10" }
9296 - { os: ubuntu-latest, module: external-storage, python-version: "3.11" }
93- - { os: ubuntu-latest, module: doc-build, python-version: "3.11" }
94- - { os: self-hosted, module: gpu, python-version: "3.11" }
95- - { os: ubuntu-latest, module: jax, python-version: "3.10" }
96- - { os: ubuntu-latest, module: datasets, python-version: "3.10" }
9797 # a self-hosted runner which needs computing resources, activate when necessary
9898 # - { os: juicefs-ci, module: kubernetes-juicefs, python-version: 3.9 }
9999 # TODO: slurm & kubernetes tests are not stable
@@ -204,22 +204,30 @@ jobs:
204204 rm -fr /tmp/etcd-$ETCD_VER-linux-amd64.tar.gz /tmp/etcd-download-test
205205 fi
206206 if [[ "$MODULE" == "external-storage" ]]; then
207+ # install Java 11
208+ sudo apt-get update
209+ sudo apt-get install -y openjdk-11-jdk
210+ sudo update-alternatives --set java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
211+
212+ # install Alluxio
207213 export CUR_DIR=$(pwd)
208214 mkdir -p /tmp/alluxio-download-test
209215 cd /tmp/alluxio-download-test
210- wget -q https://downloads.alluxio.io/downloads/files/2.9.3 /alluxio-2.9.3 -bin.tar.gz
211- tar -xzf alluxio-2.9.3 -bin.tar.gz
212- cd alluxio-2.9.3
216+ wget -q https://downloads.alluxio.io/downloads/files/2.9.5 /alluxio-2.9.5 -bin.tar.gz
217+ tar -xzf alluxio-2.9.5 -bin.tar.gz
218+ cd alluxio-2.9.5
213219 cp conf/alluxio-env.sh.template conf/alluxio-env.sh
214220 cp conf/alluxio-site.properties.template conf/alluxio-site.properties
215221 echo "alluxio.master.hostname=localhost" >> conf/alluxio-site.properties
216222 cd $CUR_DIR
217- sudo mv /tmp/alluxio-download-test/alluxio-2.9.3 /usr/local/bin/
223+ sudo mv /tmp/alluxio-download-test/alluxio-2.9.5 /usr/local/bin/
218224 rm -R /tmp/alluxio-download-test
219225 unset CUR_DIR
220- export ALLUXIO_HOME="/usr/local/bin/alluxio-2.9.3 "
226+ export ALLUXIO_HOME="/usr/local/bin/alluxio-2.9.5 "
221227 ${ALLUXIO_HOME}/bin/alluxio format
222228 ${ALLUXIO_HOME}/bin/alluxio-start.sh local SudoMount
229+
230+ # install JuiceFS
223231 curl -sSL https://d.juicefs.com/install | sh -
224232 curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
225233 echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
@@ -359,7 +367,7 @@ jobs:
359367 xorbits/_mars/tensor/datastore/tests/test_datastore_execution.py \
360368 xorbits/_mars/dataframe/datastore/tests/test_datastore_execution.py
361369 elif [[ "$MODULE" == "external-storage" ]]; then
362- export ALLUXIO_HOME="/usr/local/bin/alluxio-2.9.3 "
370+ export ALLUXIO_HOME="/usr/local/bin/alluxio-2.9.5 "
363371 export JUICEFS_HOME="/usr/local/bin/juicefs"
364372 pytest --timeout=1500 -W ignore::PendingDeprecationWarning \
365373 --cov-config=setup.cfg --cov-report=xml --cov=xorbits xorbits/_mars/storage/tests/test_libs.py
@@ -372,7 +380,7 @@ jobs:
372380 pytest --timeout=1500 \
373381 -W ignore::PendingDeprecationWarning \
374382 --cov-config=setup.cfg --cov-report=xml --cov=xorbits \
375- xorbits/xgboost xorbits/lightgbm
383+ xorbits/_mars/learn/contrib/ xgboost/ xorbits/_mars/learn/contrib/ lightgbm/
376384 elif [ "$MODULE" == "jax" ]; then
377385 pytest --cov-config=setup.cfg --cov-report=xml --cov=xorbits xorbits/_mars/tensor/fuse/tests/test_runtime_fusion.py
378386 pytest --cov-config=setup.cfg --cov-report=xml --cov=xorbits xorbits/_mars/tensor/
0 commit comments