Skip to content

Commit 499ff81

Browse files
authored
ci: fix env var in github workflow (#101)
* docs: test * ci: change env * revert: remove the change in readme
1 parent d5eeb96 commit 499ff81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on: [push, pull_request]
55
env:
66
POETRY_VERSION: "1.4.2"
77
POETRY_URL: https://install.python-poetry.org
8-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
98

109
jobs:
1110
lint:
@@ -65,6 +64,9 @@ jobs:
6564
run: |
6665
poetry install --no-root --without dev
6766
- name: Run Tests
67+
env:
68+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
69+
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HF_TOKEN }}
6870
run: |
6971
poetry run pytest --asyncio-mode=auto
7072
- name: Upload pytest test results

0 commit comments

Comments
 (0)