Skip to content

Commit

Permalink
Add HF token
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayP13 committed Dec 25, 2023
1 parent 3f61037 commit 0237ca4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ jobs:
- name: SUDO PYVERSION
run: sudo -H -E env "PATH=$PATH" python3 --version
- name: Run tests
run: sudo -H -E env "PATH=$PATH" ./run.sh -vvvv --durations=0 --junitxml=./test.xml --maxfail=2
run: sudo -H -E env "PATH=$PATH" ./run.sh -k "TestCli" -vvvv --durations=0 --junitxml=./test.xml --maxfail=2
env:
PROJECT_DATA: /tmp/project_data
PROJECT_DISABLE_TUNNEL: 1
PROJECT_JOB_NAME: "test" # This makes run.sh run with `pytest` instead of `python3`
HUGGINGFACEHUB_API_TOKEN: ${{ secrets.HUGGINGFACEHUB_API_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
Expand Down

0 comments on commit 0237ca4

Please sign in to comment.