Mounting on the job.

This commit is contained in:
Nicolas Patry 2024-09-10 14:47:56 +02:00
parent ed51bb94ce
commit 99fd425ed2
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863

View File

@ -181,6 +181,11 @@ jobs:
- name: Install - name: Install
run: | run: |
make install-integration-tests make install-integration-tests
- name: Tailscale
uses: huggingface/tailscale-action@main
with:
authkey: ${{ secrets.TAILSCALE_SSH_AUTHKEY }}
debugEnabled: true
- name: Run tests - name: Run tests
run: | run: |
export DOCKER_VOLUME=/mnt/cache export DOCKER_VOLUME=/mnt/cache
@ -189,3 +194,7 @@ jobs:
export HF_TOKEN=${{ secrets.HF_TOKEN }} export HF_TOKEN=${{ secrets.HF_TOKEN }}
echo $DOCKER_IMAGE echo $DOCKER_IMAGE
pytest -s -vv integration-tests ${PYTEST_FLAGS} pytest -s -vv integration-tests ${PYTEST_FLAGS}
- name: Wait for SSH
run : |
sleep 30s
while [ "$(last | grep '^runner.*still logged in$')" ]; do sleep 1m; done