2020 - name : Run format script
2121 run : |
2222 ./format.sh --all
23- test_linux_ray_master :
23+
24+ test_linux_ray_master_1 :
2425 runs-on : ubuntu-latest
25- timeout-minutes : 25
26+ timeout-minutes : 40
2627 steps :
2728 - uses : actions/checkout@v2
2829 - name : Set up Python 3.7
@@ -44,13 +45,37 @@ jobs:
4445 run : |
4546 pushd ray_lightning/tests
4647 python -m pytest -v --durations=0 -x test_ddp.py
48+ python -m pytest -v --durations=0 -x test_ddp_sharded.py
49+
50+ test_linux_ray_master_2 :
51+ runs-on : ubuntu-latest
52+ timeout-minutes : 40
53+ steps :
54+ - uses : actions/checkout@v2
55+ - name : Set up Python 3.7
56+ uses : actions/setup-python@v2
57+ with :
58+ python-version : 3.7
59+ - name : Install dependencies
60+ run : |
61+ python -m pip install --upgrade pip
62+ python -m pip install --upgrade setuptools
63+ python -m pip install codecov
64+ python -m pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-2.0.0.dev0-cp37-cp37m-manylinux2014_x86_64.whl
65+ if [ -f requirements-test.txt ]; then python -m pip install -r requirements-test.txt; fi
66+ HOROVOD_WITH_GLOO=1 HOROVOD_WITHOUT_MPI=1 HOROVOD_WITHOUT_MXNET=1 pip install git+https://github.com/horovod/horovod.git
67+ - name : Install package
68+ run : |
69+ python -m pip install -e .
70+ - name : Test with Pytest
71+ run : |
72+ pushd ray_lightning/tests
4773 python -m pytest -v --durations=0 -x test_horovod.py
4874 python -m pytest -v --durations=0 -x test_tune.py
49- python -m pytest -v --durations=0 -x test_ddp_sharded.py
5075
5176 test_linux_ray_master_examples :
5277 runs-on : ubuntu-latest
53- timeout-minutes : 25
78+ timeout-minutes : 40
5479 steps :
5580 - uses : actions/checkout@v2
5681 - name : Set up Python 3.7
83108 echo "running examples with Ray Client 3" && python -m pytest -v --durations=0 -x test_client_3.py
84109
85110
86- test_linux_ray_release :
111+ test_linux_ray_release_1 :
87112 runs-on : ubuntu-latest
88- timeout-minutes : 25
113+ timeout-minutes : 40
89114 steps :
90115 - uses : actions/checkout@v2
91116 - name : Set up Python 3.7
@@ -107,14 +132,38 @@ jobs:
107132 run : |
108133 pushd ray_lightning/tests
109134 python -m pytest -v --durations=0 -x test_ddp.py
135+ python -m pytest -v --durations=0 -x test_ddp_sharded.py
136+
137+ test_linux_ray_release_2 :
138+ runs-on : ubuntu-latest
139+ timeout-minutes : 40
140+ steps :
141+ - uses : actions/checkout@v2
142+ - name : Set up Python 3.7
143+ uses : actions/setup-python@v2
144+ with :
145+ python-version : 3.7
146+ - name : Install dependencies
147+ run : |
148+ python -m pip install --upgrade pip
149+ python -m pip install --upgrade setuptools
150+ python -m pip install codecov
151+ python -m pip install -U ray
152+ if [ -f requirements-test.txt ]; then python -m pip install -r requirements-test.txt; fi
153+ HOROVOD_WITH_GLOO=1 HOROVOD_WITHOUT_MPI=1 HOROVOD_WITHOUT_MXNET=1 pip install -U git+https://github.com/horovod/horovod.git
154+ - name : Install package
155+ run : |
156+ python -m pip install -e .
157+ - name : Test with Pytest
158+ run : |
159+ pushd ray_lightning/tests
110160 python -m pytest -v --durations=0 -x test_horovod.py
111161 python -m pytest -v --durations=0 -x test_tune.py
112- python -m pytest -v --durations=0 -x test_ddp_sharded.py
113162
114163
115164 test_linux_ray_release_examples :
116165 runs-on : ubuntu-latest
117- timeout-minutes : 25
166+ timeout-minutes : 40
118167 steps :
119168 - uses : actions/checkout@v2
120169 - name : Set up Python 3.7
0 commit comments