Skip to content

Commit 5f820c0

Browse files
Trigger CI test
1 parent 38af6fa commit 5f820c0

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/python-tests.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- '3.12.x'
2121
- '3.13.x'
2222
os:
23-
- ubuntu-latest
23+
# - ubuntu-latest
2424
# - macos-latest
2525
- windows-latest
2626

@@ -44,7 +44,7 @@ jobs:
4444
- name: Set Model Cache Directory
4545
run: |
4646
if [[ "$RUNNER_OS" == "Windows" ]]; then
47-
echo "MODEL_CACHE_DIR=%TEMP%\\fastembed_cache" >> $GITHUB_ENV
47+
echo "MODEL_CACHE_DIR=$LOCALAPPDATA\\Temp\\fastembed_cache" >> $GITHUB_ENV
4848
else
4949
echo "MODEL_CACHE_DIR=/tmp/fastembed_cache" >> $GITHUB_ENV
5050
fi
@@ -62,9 +62,14 @@ jobs:
6262
run: |
6363
poetry run pytest tests/test_image_onnx_embeddings.py
6464
65-
- name: List Cached Models (Windows)
65+
- name: List Cached Models (Windows) 1
6666
if: runner.os == 'Windows'
67-
run: dir C:\Users\runneradmin\AppData\Local\Temp\fastembed_cache
67+
run: dir $LOCALAPPDATA\\Temp\\fastembed_cache
68+
shell: cmd
69+
70+
- name: List Cached Models (Windows) 2
71+
if: runner.os == 'Windows'
72+
run: dir %TEMP%\\fastembed_cache
6873
shell: cmd
6974

7075
- name: List Cached Models (Linux/macOS) - /tmp

0 commit comments

Comments
 (0)