From 911f82a34bee58bdd94e8b7504a1e7703239bea4 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Tue, 17 Sep 2024 14:05:06 +0200 Subject: [PATCH] Using the cache on both jobs. --- .github/workflows/build.yaml | 2 +- .github/workflows/nix_integration_tests.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d415f3694..b8ea26fe8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -183,7 +183,7 @@ jobs: make install-integration-tests - name: Run tests run: | - export DOCKER_VOLUME=/mnt/cache + export DOCKER_VOLUME=/mnt/hf_cache export DOCKER_IMAGE=${{ needs.build-and-push.outputs.docker_image }} export DOCKER_DEVICES=${{ needs.build-and-push.outputs.docker_devices }} export HF_TOKEN=${{ secrets.HF_TOKEN }} diff --git a/.github/workflows/nix_integration_tests.yaml b/.github/workflows/nix_integration_tests.yaml index 736ebfb01..823a1e368 100644 --- a/.github/workflows/nix_integration_tests.yaml +++ b/.github/workflows/nix_integration_tests.yaml @@ -37,7 +37,7 @@ jobs: sudo find $NVIDIA . -name 'libcuda.so*' -exec ln -s {} /run/opengl-driver/lib/ \; sudo find $NVIDIA . -name 'libnvidia-ml.so*' -exec ln -s {} /run/opengl-driver/lib/ \; sudo chown -R runner /mnt/hf_cache/hub - nix develop .#test --command pytest -svvx integration-tests/ --release + nix develop .#test --command pytest -svv integration-tests/ --release env: HF_TOKEN: ${{ secrets.HF_TOKEN }} HF_HOME: /mnt/hf_cache/