Skip to content

Commit

Permalink
Fix optional deps installs during CI (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
ascillitoe authored Nov 8, 2022
1 parent 2c22f59 commit ad2df5f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,11 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade --upgrade-strategy eager -r requirements/dev.txt
python -m pip install --upgrade --upgrade-strategy eager -e .
python -m pip install --upgrade --upgrade-strategy eager .[tensorflow,torch,shap]
if [ "$RUNNER_OS" != "Windows" ]; then
# Windows support for ray is experimental (https://docs.ray.io/en/latest/installation.html#windows-support)
python -m pip install --upgrade --upgrade-strategy eager -e .[ray]
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
fi
python -m pip install --upgrade --upgrade-strategy eager -e .[shap]
python -m spacy download en_core_web_md
python -m pip freeze
Expand Down

0 comments on commit ad2df5f

Please sign in to comment.