Skip to content

Commit 3473a3a

Browse files
committed
Update test.yml
1 parent 2dc2aa3 commit 3473a3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
python tests/test_batching.py
5050
env:
5151
OPTILLM_API_KEY: optillm
52+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
5253

5354
integration-tests:
5455
runs-on: ubuntu-latest
@@ -94,6 +95,7 @@ jobs:
9495
curl -s http://localhost:8000/health || echo "Server health check failed"
9596
env:
9697
OPTILLM_API_KEY: optillm
98+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
9799

98100
- name: Run integration tests (server required)
99101
run: |
@@ -109,6 +111,7 @@ jobs:
109111
exit 0
110112
env:
111113
OPTILLM_API_KEY: optillm
114+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
112115

113116
- name: Stop optillm server
114117
if: always()

0 commit comments

Comments
 (0)