feat: rotate tests ci token

This commit is contained in:
drbh 2024-06-19 17:49:26 +00:00
parent 11ea9ce002
commit 7b8aaa57e5
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ jobs:
run: |
export DOCKER_VOLUME=/mnt/cache
export DOCKER_IMAGE=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:sha-${{ env.GITHUB_SHA_SHORT }}
export HUGGING_FACE_HUB_TOKEN=${{ secrets.HUGGING_FACE_HUB_TOKEN }}
export HUGGING_FACE_HUB_TOKEN=${{ secrets.HF_TOKEN }}
pytest -s -vv integration-tests
- name: Tailscale Wait
if: ${{ failure() || runner.debug == '1' }}

View File

@ -72,7 +72,7 @@ jobs:
- name: Run server tests
run: |
pip install pytest
export HUGGING_FACE_HUB_TOKEN=${{ secrets.HUGGING_FACE_HUB_TOKEN }}
export HUGGING_FACE_HUB_TOKEN=${{ secrets.HF_TOKEN }}
pytest -s -vv server/tests
- name: Pre-commit checks
run: |