mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
ci: run relevance tests offline so fastembed doesn't 429 on cache HEAD
This commit is contained in:
parent
51af24f7bf
commit
2ea548a86d
1 changed files with 5 additions and 0 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -233,6 +233,11 @@ jobs:
|
|||
done
|
||||
echo "::error::could not fetch fastembed model from HuggingFace"; exit 1
|
||||
- name: Run relevance tests
|
||||
# Offline so fastembed reads the cache the prefetch step just warmed,
|
||||
# without an unauthenticated cache-validation HEAD that could 429.
|
||||
env:
|
||||
HF_HUB_OFFLINE: "1"
|
||||
TRANSFORMERS_OFFLINE: "1"
|
||||
run: pytest tests/test_relevance.py -v
|
||||
|
||||
test-agno:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue