Skip to content

Commit 946c2a4

Browse files
Trigger CI test
1 parent 329ca7a commit 946c2a4

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,8 +20,8 @@ jobs:
2020
# - '3.12.x'
2121
# - '3.13.x'
2222
os:
23-
# - ubuntu-latest
24-
# - macos-latest
23+
- ubuntu-latest
24+
- macos-latest
2525
- windows-latest
2626

2727
runs-on: ${{ matrix.os }}
@@ -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=$TEMP\\fastembed_cache" >> $GITHUB_ENV
4848
else
4949
echo "MODEL_CACHE_DIR=/tmp/fastembed_cache" >> $GITHUB_ENV
5050
fi
@@ -53,7 +53,7 @@ jobs:
5353
- name: Cache Model Files
5454
uses: actions/cache@v3
5555
with:
56-
path: ${{ env.MODEL_CACHE_DIR }}
56+
path: "${{ env.MODEL_CACHE_DIR }}"
5757
key: ml-models-cache-${{ runner.os }}-${{ hashFiles('**/test_*.py') }}
5858
restore-keys: |
5959
ml-models-cache-${{ runner.os }}-
@@ -65,4 +65,9 @@ jobs:
6565
- name: List Cached Models (Linux/macOS) - /tmp
6666
if: runner.os != 'Windows'
6767
run: ls -lah /tmp/fastembed_cache
68+
shell: bash
69+
70+
- name: List Cached Models (Windows) - %TEMP%
71+
if: runner.os == 'Windows'
72+
run: ls -lah $TEMP\fastembed_cache
6873
shell: bash

0 commit comments

Comments
 (0)