Skip to content

Commit

Permalink
try without pip cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Palucha committed Oct 3, 2024
1 parent 7dab939 commit 55d7117
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/precommit_and_docs_build_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: "3.11"
cache: pip

- name: create venv and install dependencies
Expand All @@ -29,7 +29,7 @@ jobs:
. /tmp/kazu-env/bin/activate
python -m pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager --index-url https://download.pytorch.org/whl/cpu "torch>=2.0.0"
pip install -e ."[dev]" --cache-dir $PIP_CACHE_DIR --upgrade --upgrade-strategy eager
pip install -e ."[dev]"
- name: Check precommit
run: |
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Check docs build successfully
# still run even if the pre-commit fails, so we
# have the output on if the docs build succeeded or not
if: '!cancelled()'
if: "!cancelled()"
run: |
. /tmp/kazu-env/bin/activate
make -C docs html
Expand Down

0 comments on commit 55d7117

Please sign in to comment.