fix workflow

This commit is contained in:
OlivierDehaene 2023-05-15 17:42:22 +02:00
parent 6e17994fef
commit 42ce781f90

View File

@ -191,8 +191,6 @@ jobs:
- start-runner - start-runner
- build-and-push-image # Wait for the docker image to be built - build-and-push-image # Wait for the docker image to be built
runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner
env:
DOCKER_IMAGE: registry.internal.huggingface.tech/api-inference/community/text-generation-inference:sha-${{ env.GITHUB_SHA_SHORT }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python - name: Set up Python
@ -214,6 +212,7 @@ jobs:
make install-integration-tests make install-integration-tests
- name: Run tests - name: Run tests
run: | run: |
export DOCKER_IMAGE=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:sha-${{ env.GITHUB_SHA_SHORT }}
make integration-tests make integration-tests
stop-runner: stop-runner: