@@ -20,12 +20,13 @@ jobs:
2020 run : |
2121 python -m pip install --upgrade pip
2222 python -m pip install codecov
23- python -m pip install -U yapf==0.23.0 flake8==3.7.7 flake8-comprehensions flake8-quotes==2.0.0
23+ if [ -f requirements/lint-requirements.txt ]; then python -m pip install -r requirements/lint-requirements.txt; fi
2424 - name : Print environment info
2525 run : |
2626 ./xgboost_ray/tests/env_info.sh
2727 - name : Run format script
2828 run : |
29+ ls -alp
2930 ./format.sh --all
3031
3132 test_linux_ray_master :
5253 python -m pip install --upgrade pip
5354 python -m pip install codecov
5455 python -m pip install -U ${{ matrix.ray-wheel }}
55- if [ -f requirements- test.txt ]; then python -m pip install -r requirements- test.txt; fi
56+ if [ -f requirements/ test-requirements .txt ]; then python -m pip install -r requirements/ test-requirements .txt; fi
5657 - name : Install package
5758 run : |
5859 python -m pip install -e .
8990 python -m pip install --upgrade pip
9091 python -m pip install codecov
9192 python -m pip install -U ray
92- if [ -f requirements- test.txt ]; then python -m pip install -r requirements- test.txt; fi
93+ if [ -f requirements/ test-requirements .txt ]; then python -m pip install -r requirements/ test-requirements .txt; fi
9394 - name : Install package
9495 run : |
9596 python -m pip install -e .
@@ -128,7 +129,7 @@ jobs:
128129 python -m pip install --upgrade pip
129130 python -m pip install codecov
130131 python -m pip install -U ray
131- if [ -f requirements- test.txt ]; then python -m pip install -r requirements- test.txt; fi
132+ if [ -f requirements/ test-requirements .txt ]; then python -m pip install -r requirements/ test-requirements .txt; fi
132133 - name : Uninstall unavailable dependencies
133134 # Disables modin and Ray Tune (via tabulate)
134135 run : |
@@ -179,7 +180,7 @@ jobs:
179180 python -m pip install --upgrade pip
180181 python -m pip install codecov
181182 python -m pip install -U ${{ matrix.ray-wheel }}
182- if [ -f requirements- test.txt ]; then python -m pip install -r requirements- test.txt; fi
183+ if [ -f requirements/ test-requirements .txt ]; then python -m pip install -r requirements/ test-requirements .txt; fi
183184 - name : Install Ubuntu system dependencies
184185 run : |
185186 sudo apt-get install -y --no-install-recommends ninja-build
@@ -234,7 +235,7 @@ jobs:
234235 python -m pip install --upgrade pip
235236 python -m pip install codecov
236237 python -m pip install -U ray
237- if [ -f requirements- test.txt ]; then python -m pip install -r requirements- test.txt; fi
238+ if [ -f requirements/ test-requirements .txt ]; then python -m pip install -r requirements/ test-requirements .txt; fi
238239 - name : Install package
239240 run : |
240241 python -m pip install -e .
0 commit comments