From 63490815c39c88f54053ecd29979f96a1a91453c Mon Sep 17 00:00:00 2001 From: Nathan Weinberg Date: Tue, 25 Jun 2024 13:07:11 -0400 Subject: [PATCH] Update e2e config to optimize pip caching Signed-off-by: Nathan Weinberg --- .github/workflows/e2e.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index fb98beab..df678f58 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -31,12 +31,19 @@ jobs: steps: # No step-security/harden-runner since this is a self-hosted runner - - name: Checkout + - name: Checkout instructlab/sdg uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: # https://github.com/actions/checkout/issues/249 fetch-depth: 0 + - name: Checkout instructlab/instructlab + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + with: + repository: "instructlab/instructlab" + path: "instructlab" + fetch-depth: 0 + - name: Install Packages run: | sudo apt-get install -y cuda-toolkit git cmake build-essential virtualenv @@ -68,7 +75,6 @@ jobs: export PATH="/home/runner/.local/bin:/usr/local/cuda/bin:$PATH" python3 -m venv venv . venv/bin/activate - git clone https://github.com/instructlab/instructlab.git cd instructlab sed 's/\[.*\]//' requirements.txt > constraints.txt python3 -m pip cache remove llama_cpp_python