diff --git a/.github/workflows/orca-tutorial-xshards.yml b/.github/workflows/orca-tutorial-xshards.yml index 907774e96a4..617358f1156 100644 --- a/.github/workflows/orca-tutorial-xshards.yml +++ b/.github/workflows/orca-tutorial-xshards.yml @@ -77,6 +77,13 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install --upgrade setuptools==58.0.4 + + - name: Run Test + run: | + conda remove -n orca-tutorial-xshards-py37 -y --all + conda create -n orca-tutorial-xshards-py37 -y python==3.7.10 setuptools==58.0.4 + conda info -e + source activate orca-tutorial-xshards-py37 pip uninstall -y bigdl-friesian bigdl-friesian-spark3 bigdl-dllib bigdl-dllib-spark3 bigdl-orca pyspark bigdl-orca-spark3 bigdl-chronos bigdl-chronos-spark3 bigdl-friesian bigdl-friesian-spark3 pip uninstall -y intel-tensorflow pip uninstall -y tensorflow @@ -86,11 +93,13 @@ jobs: pip install pandas pip install jep==3.9.0 pip install cloudpickle - - name: Run Test - run: | + pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r python/orca/dev/example/requirements-ray.txt export SPARK_LOCAL_HOSTNAME=localhost export FTP_URI=${FTP_URI} chmod a+x python/orca/dev/test/run-tutorial-xshards.sh python/orca/dev/test/run-tutorial-xshards.sh + + source deactivate + conda remove -n orca-tutorial-xshards-py37 -y --all env: BIGDL_ROOT: ${{ github.workspace }}