raylim commited on
Commit
ee005bb
·
unverified ·
1 Parent(s): 4ba0ba5

Add HF_TOKEN environment variable to test workflow

Browse files

- Set HF_TOKEN from secrets for dependency installation and tests
- Enables access to HuggingFace models during CI if needed

Files changed (1) hide show
  1. .github/workflows/tests.yml +4 -0
.github/workflows/tests.yml CHANGED
@@ -39,10 +39,14 @@ jobs:
39
  cache-dependency-glob: "uv.lock"
40
 
41
  - name: Install dependencies
 
 
42
  run: |
43
  uv sync
44
 
45
  - name: Run tests with coverage
 
 
46
  run: |
47
  make test-coverage
48
 
 
39
  cache-dependency-glob: "uv.lock"
40
 
41
  - name: Install dependencies
42
+ env:
43
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
44
  run: |
45
  uv sync
46
 
47
  - name: Run tests with coverage
48
+ env:
49
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
50
  run: |
51
  make test-coverage
52