diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 7072bc927..705d0a6dc 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -25,6 +25,12 @@ jobs: with: path: models key: "2023-12-30" + - name: Cache repositories + id: cache-repos + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 + with: + path: repositories + key: "repos-2023-12-30" - name: Install test dependencies run: pip install wait-for-it -r requirements-test.txt env: @@ -46,6 +52,8 @@ jobs: TORCH_INDEX_URL: https://download.pytorch.org/whl/cpu WEBUI_LAUNCH_LIVE_OUTPUT: "1" PYTHONUNBUFFERED: "1" + STABLE_DIFFUSION_REPO: https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Stability-AI/stablediffusion.git + STABLE_DIFFUSION_XL_REPO: https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Stability-AI/generative-models.git - name: Smoke startup run: | python launch.py --skip-prepare-environment --skip-torch-cuda-test --test-server --do-not-download-clip --no-half --disable-opt-split-attention --use-cpu all --api-server-stop --port 7860 &