File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,11 @@ jobs:
133133 with :
134134 credentials_json : ${{ secrets.GOOGLE_CREDENTIALS }}
135135
136+ - name : Set HuggingFace token
137+ run : |
138+ mkdir -p ~/.huggingface
139+ echo '{"token":"${{ secrets.HF_TOKEN }}"}' > ~/.huggingface/token
140+
136141 - name : Run tests
137142 if : matrix.connection == 'plain' && matrix.redis-version == 'latest'
138143 env :
@@ -149,6 +154,7 @@ jobs:
149154 OPENAI_API_VERSION : ${{ secrets.OPENAI_API_VERSION }}
150155 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
151156 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
157+ HF_TOKEN : ${{ secrets.HF_TOKEN }}
152158 run : |
153159 make test-all
154160
@@ -173,6 +179,7 @@ jobs:
173179 OPENAI_API_VERSION : ${{ secrets.OPENAI_API_VERSION }}
174180 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
175181 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
182+ HF_TOKEN : ${{ secrets.HF_TOKEN }}
176183 run : |
177184 docker run -d --name redis -p 6379:6379 redis/redis-stack-server:latest
178185 make test-notebooks
You can’t perform that action at this time.
0 commit comments