add tmate

This commit is contained in:
OlivierDehaene 2023-07-18 19:43:48 +02:00
parent 45d24bea52
commit 99568eef7b

View File

@ -214,11 +214,14 @@ jobs:
- name: Install
run: |
make install-integration-tests
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
- name: Run tests
run: |
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 }}
sleep 1h
pytest -s -vv integration-tests
stop-runner: