Skip to content

Commit

Permalink
Refactor CI pip installs (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
ascillitoe authored Nov 8, 2022
1 parent 42c5f16 commit 5748864
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,10 @@ 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 .[prophet,tensorflow,torch]
if [ "$RUNNER_OS" == "Linux" ]; then # Currently, we only support KeOps on Linux.
python -m pip install --upgrade --upgrade-strategy eager -e .[keops]
python -m pip install --upgrade --upgrade-strategy eager .[prophet,tensorflow,torch,keops]
fi
python -m pip install --upgrade --upgrade-strategy eager -e .[prophet,tensorflow,torch]
python -m pip freeze
- name: Setup tmate session
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test_all_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade --upgrade-strategy eager -r requirements/dev.txt -r testing/requirements.txt
python -m pip install --upgrade --upgrade-strategy eager -e .
python -m pip install --upgrade --upgrade-strategy eager -e .[prophet,torch,tensorflow]
python -m pip install --upgrade --upgrade-strategy eager .[prophet,torch,tensorflow]
python -m pip freeze
- name: Run notebooks
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test_changed_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade --upgrade-strategy eager -r requirements/dev.txt -r testing/requirements.txt
python -m pip install --upgrade --upgrade-strategy eager -e .
python -m pip install --upgrade --upgrade-strategy eager -e .[prophet,torch,tensorflow]
python -m pip install --upgrade --upgrade-strategy eager .[prophet,torch,tensorflow]
python -m pip freeze
- name: Run notebooks
Expand Down

0 comments on commit 5748864

Please sign in to comment.