Skip to content

Commit

Permalink
Update e2e config to optimize pip caching
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Weinberg <[email protected]>
  • Loading branch information
nathan-weinberg committed Jun 25, 2024
1 parent 78d54f5 commit 6349081
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6349081

Please sign in to comment.