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 6565 with :
6666 credentials_json : ${{ secrets.GOOGLE_CREDENTIALS }}
6767
68+ - name : Set HuggingFace token
69+ run : |
70+ mkdir -p ~/.huggingface
71+ echo '{"token":"${{ secrets.HF_TOKEN }}"}' > ~/.huggingface/token
72+
6873 - name : Run tests
6974 if : matrix.connection == 'plain' && matrix.redis-version == 'latest'
7075 env :
8085 OPENAI_API_VERSION : ${{secrets.OPENAI_API_VERSION}}
8186 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
8287 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
88+ HF_TOKEN : ${{ secrets.HF_TOKEN }}
8389 run : |
8490 make test-all
8591
@@ -103,6 +109,7 @@ jobs:
103109 OPENAI_API_VERSION : ${{secrets.OPENAI_API_VERSION}}
104110 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
105111 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
112+ HF_TOKEN : ${{ secrets.HF_TOKEN }}
106113 run : |
107114 docker run -d --name redis -p 6379:6379 redis/redis-stack-server:latest
108115 if [[ "${{ matrix.python-version }}" > "3.9" ]]; then
You can’t perform that action at this time.
0 commit comments