Skip to content

Commit e34c8fd

Browse files
anton-lnatolambert
authored andcommitted
Fix GPU tests (token + single-process) (#294)
1 parent c2ddfeb commit e34c8fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/push_tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,7 @@ jobs:
4646
python utils/print_env.py
4747
4848
- name: Run all (incl. slow) tests on GPU
49+
env:
50+
HF_API_TOKEN: ${{ secrets.HF_API_TOKEN }}
4951
run: |
50-
python -m pytest -n 2 --max-worker-restart=0 --dist=loadfile -s tests/
52+
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s tests/

0 commit comments

Comments
 (0)