File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 6767 run : |
6868 poetry check --lock
6969 poetry install --with dev
70+ - name : Authenticate HuggingFace CLI
71+ run : |
72+ pip install huggingface_hub
73+ huggingface-cli login --token $HF_TOKEN
74+ env :
75+ HF_TOKEN : ${{ secrets.HF_TOKEN }}
7076 - name : Unit Test
7177 run : make unit-test
7278 env :
@@ -106,6 +112,12 @@ jobs:
106112 run : make docstring-test
107113 - name : Type check
108114 run : poetry run mypy .
115+ - name : Authenticate HuggingFace CLI
116+ run : |
117+ pip install huggingface_hub
118+ huggingface-cli login --token $HF_TOKEN
119+ env :
120+ HF_TOKEN : ${{ secrets.HF_TOKEN }}
109121 - name : Test Suite with Coverage Report
110122 run : make coverage-report-test
111123 env :
@@ -196,6 +208,12 @@ jobs:
196208 with :
197209 name : test-coverage
198210 path : docs/source/_static/coverage
211+ - name : Authenticate HuggingFace CLI
212+ run : |
213+ pip install huggingface_hub
214+ huggingface-cli login --token $HF_TOKEN
215+ env :
216+ HF_TOKEN : ${{ secrets.HF_TOKEN }}
199217 - name : Build Docs
200218 run : poetry run build-docs
201219 env :
You can’t perform that action at this time.
0 commit comments