Skip to content

Commit ad2df5f

Browse files
author
Ashley Scillitoe
authored
Fix optional deps installs during CI (#817)
1 parent 2c22f59 commit ad2df5f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,11 @@ jobs:
5555
run: |
5656
python -m pip install --upgrade pip setuptools wheel
5757
python -m pip install --upgrade --upgrade-strategy eager -r requirements/dev.txt
58-
python -m pip install --upgrade --upgrade-strategy eager -e .
58+
python -m pip install --upgrade --upgrade-strategy eager .[tensorflow,torch,shap]
5959
if [ "$RUNNER_OS" != "Windows" ]; then
6060
# Windows support for ray is experimental (https://docs.ray.io/en/latest/installation.html#windows-support)
61-
python -m pip install --upgrade --upgrade-strategy eager -e .[ray]
61+
python -m pip install --upgrade --upgrade-strategy eager .[tensorflow,torch,shap,ray] # include other deps so that they are taking into account during ray install
6262
fi
63-
python -m pip install --upgrade --upgrade-strategy eager -e .[shap]
6463
python -m spacy download en_core_web_md
6564
python -m pip freeze
6665

0 commit comments

Comments
 (0)