@@ -119,7 +119,9 @@ jobs:
119119 # FIXME ipv6-related failures on Ubuntu github actions CI
120120 # https://github.com/dask/distributed/issues/4514
121121 export DISABLE_IPV6=1
122- export PYTEST_ADDOPTS=("-m" "not avoid_ci")
122+ # test_decide_worker_coschedule_order_neighbors is skipped because of:
123+ # https://github.com/dask/distributed/issues/8255
124+ export PYTEST_ADDOPTS=("-m" "not avoid_ci" "-k" "not test_decide_worker_coschedule_order_neighbors")
123125 source ./.github/scripts/test_downstream_project.sh
124126
125127 joblib-downstream-build :
@@ -184,36 +186,36 @@ jobs:
184186 PROJECT : ray
185187 strategy :
186188 matrix :
187- python_version : ["3.10 "]
189+ python_version : ["3.11 "]
188190 steps :
189191 - uses : actions/checkout@v1
190192 - name : Set up Python
191193 uses : actions/setup-python@v1
192194 with :
193195 python-version : ${{ matrix.python_version }}
194- - name : Install project and dependencies
196+ - name : Install project and tests dependencies
197+ run : |
198+ python -m pip install --upgrade -r dev-requirements.txt setproctitle psutil catboost \
199+ https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp311-cp311-manylinux2014_x86_64.whl
200+ - name : Test cloudpickle itself
201+ run : |
202+ COVERAGE_PROCESS_START="$TRAVIS_BUILD_DIR/.coveragerc" PYTHONPATH='.:tests' pytest -r s
203+ - name : Patch Ray with the development version of cloudpickle
204+ run : |
205+ RAY_PACKAGE_DIR=$(python -c "import os, ray; print(os.path.dirname(ray.__file__), flush=True)")
206+ cp cloudpickle/cloudpickle.py $RAY_PACKAGE_DIR/cloudpickle/cloudpickle.py
207+ cp cloudpickle/compat.py $RAY_PACKAGE_DIR/cloudpickle/compat.py
208+ cp cloudpickle/cloudpickle_fast.py $RAY_PACKAGE_DIR/cloudpickle/cloudpickle_fast.py
209+ - name : Fetch the Ray test suite from github
195210 run : |
196- python -m pip install --upgrade -r dev-requirements.txt
197- python -m pip install setproctitle psutil
198- # from https://docs.ray.io/en/master/development.html#building-ray
199- pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-2.0.0.dev0-cp310-cp310-manylinux2014_x86_64.whl
200211 pushd ..
201212 git clone https://github.com/ray-project/ray.git
202- pushd ray
203- python python/ray/setup-dev.py --yes
204- popd
205213 popd
206- PROJECT_DIR=$(python -c "import os, ray; print(os.path.dirname(ray.__file__), flush=True)")
207- rm $PROJECT_DIR/cloudpickle/cloudpickle.py
208- cp cloudpickle/cloudpickle.py $PROJECT_DIR/cloudpickle/cloudpickle.py
209- cp cloudpickle/compat.py $PROJECT_DIR/cloudpickle/compat.py
210- cp cloudpickle/cloudpickle_fast.py $PROJECT_DIR/cloudpickle/cloudpickle_fast.py
211- - name : Test the downstream project
212- run : |
213- PROJECT_DIR="$(python -c "import os, ray; print(os.path.dirname(ray.__file__), flush=True)")"
214- COVERAGE_PROCESS_START="$TRAVIS_BUILD_DIR/.coveragerc" PYTHONPATH='.:tests' pytest -r s
215- pytest -vl $PROJECT_DIR/tests/test_serialization.py::test_simple_serialization
216- pytest -vl $PROJECT_DIR/tests/test_serialization.py::test_complex_serialization
217- pytest -vl $PROJECT_DIR/tests/test_basic.py::test_ray_recursive_objects
218- pytest -vl $PROJECT_DIR/tests/test_serialization.py::test_serialization_final_fallback
219- pytest -vl $PROJECT_DIR/tests/test_basic.py::test_nested_functions
214+ - name : Run some tests from Ray's test suite
215+ run : |
216+ pushd ../ray/python/ray/tests
217+ pytest -vl test_serialization.py::test_simple_serialization
218+ pytest -vl test_serialization.py::test_complex_serialization
219+ pytest -vl test_basic.py::test_ray_recursive_objects
220+ pytest -vl test_serialization.py::test_serialization_final_fallback
221+ pytest -vl test_basic.py::test_nested_functions
0 commit comments