Skip to content

Commit

Permalink
ci: fix env var in github workflow (#101)
Browse files Browse the repository at this point in the history
* docs: test

* ci: change env

* revert: remove the change in readme
  • Loading branch information
miri-bar authored Sep 17, 2024
1 parent d5eeb96 commit 499ff81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on: [push, pull_request]
env:
POETRY_VERSION: "1.4.2"
POETRY_URL: https://install.python-poetry.org
HF_TOKEN: ${{ secrets.HF_TOKEN }}

jobs:
lint:
Expand Down Expand Up @@ -65,6 +64,9 @@ jobs:
run: |
poetry install --no-root --without dev
- name: Run Tests
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
poetry run pytest --asyncio-mode=auto
- name: Upload pytest test results
Expand Down

0 comments on commit 499ff81

Please sign in to comment.