Skip to content

Commit d668daf

Browse files
committed
activate environment
1 parent bfc47c1 commit d668daf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci-tests-pytorch.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ jobs:
6969
TORCH_URL_STABLE: "https://download.pytorch.org/whl/cpu/"
7070
TORCH_URL_TEST: "https://download.pytorch.org/whl/test/cpu/"
7171
FREEZE_REQUIREMENTS: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}
72-
UV_CACHE_DIR: /tmp/.uv-cache
7372
# TODO: Remove this - Enable running MPS tests on this platform
7473
DISABLE_MPS: ${{ matrix.os == 'macOS-14' && '1' || '0' }}
7574
steps:
@@ -79,6 +78,9 @@ jobs:
7978
uses: astral-sh/setup-uv@v6
8079
with:
8180
python-version: ${{ matrix.config.python-version || '3.9' }}
81+
# TODO: Avoid activating environment like this
82+
# see: https://github.com/astral-sh/setup-uv/tree/v6/?tab=readme-ov-file#activate-environment
83+
activate-environment: true
8284
enable-cache: true
8385

8486
- name: Basic setup

0 commit comments

Comments
 (0)