Skip to content

Commit a528f32

Browse files
chore: Trigger CI test
1 parent 9fcd83c commit a528f32

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/python-tests.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,20 @@ jobs:
4141
poetry config virtualenvs.create false
4242
poetry install --no-interaction --no-ansi --without dev,docs
4343
44-
# - name: Set Model Cache Directory
45-
# run: |
46-
# if [[ "$RUNNER_OS" == "Windows" ]]; then
47-
# echo "MODEL_CACHE_DIR=$LOCALAPPDATA\\Temp\\fastembed_tmp" >> $GITHUB_ENV
48-
# else
49-
# echo "MODEL_CACHE_DIR=/tmp/fastembed_tmp" >> $GITHUB_ENV
50-
# fi
51-
# shell: bash
44+
- name: Set Model Cache Directory
45+
run: |
46+
if [[ "$RUNNER_OS" == "Windows" ]]; then
47+
echo "MODEL_CACHE_DIR=$LOCALAPPDATA\\Temp\\fastembed_tmp" >> $GITHUB_ENV
48+
else
49+
echo "MODEL_CACHE_DIR=/tmp/fastembed_tmp" >> $GITHUB_ENV
50+
fi
51+
shell: bash
5252

53-
# - name: Cache Model Files
54-
# uses: actions/cache@v3
55-
# with:
56-
# path: ${{ env.MODEL_CACHE_DIR }}
57-
# key: model-cache-${{ runner.os }}-${{ hashFiles('tests/**') }}
53+
- name: Cache Model Files
54+
uses: actions/cache@v3
55+
with:
56+
path: ${{ env.MODEL_CACHE_DIR }}
57+
key: model-cache-${{ runner.os }}-${{ hashFiles('tests/**') }}
5858

5959
- name: Run pytest
6060
run: |

0 commit comments

Comments
 (0)