Skip to content

Commit 609be25

Browse files
committed
fix
1 parent cd4f5fe commit 609be25

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
python -m pip install --upgrade pip
2424
pip install setuptools wheel
2525
- name: Run tests
26+
env:
27+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
2628
run: |
2729
pip install pytest pytest-cov pytest-randomly psutil
2830
pip install -e .

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
pip install pytest pytest-cov psutil
2626
2727
- name: Run unit tests
28+
env:
29+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
2830
run: |
2931
pytest tests/ -v --cov=adaptive_classifier --cov-report=xml --cov-report=term -m "not integration"
3032
@@ -56,6 +58,8 @@ jobs:
5658
pip install pytest psutil
5759
5860
- name: Run integration tests
61+
env:
62+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
5963
run: |
6064
pytest tests/test_enterprise_classifiers_integration.py -v -m "integration" --tb=short
6165

0 commit comments

Comments
 (0)