Skip to content

Commit f7df0af

Browse files
committed
Ignore docker, doesn't help. Add comments. Use rmz for more removal.
1 parent 5c036d7 commit f7df0af

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/tox.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
# Clean out runner data we don't use, should free up ~15 GB
21-
- name: "node-cleanup"
21+
- name: "Make space on runner by removing tools we don't need using rmz, a fast version of rm."
2222
run: |
2323
df -h
2424
DOWNLOAD_URL="https://github.com/SUPERCILEX/fuc/releases/download/3.1.1/x86_64-unknown-linux-gnu-rmz"
@@ -38,11 +38,8 @@ jobs:
3838
/opt/az \
3939
/opt/pipx* \
4040
/opt/google \
41-
/opt/hostedtoolcache/CodeQL \
4241
/opt/mssql-tools || true
4342
df -h
44-
sudo docker builder prune -a
45-
df -h
4643
4744
- uses: actions/checkout@v4
4845

@@ -94,12 +91,16 @@ jobs:
9491
- name: Run inference
9592
run: |
9693
tox -e inference_CI
94+
# Keeping this makes our cache ~7G, causing it to be evicted often. Rather caching pip, so this goes OK fast.
95+
- name: Don't cache inference_CI tox dir
96+
run: rmz --force .tox/inference_CI
9797

9898
- name: Run inference_multi_CI
9999
run: |
100100
tox -e inference_multi_CI
101+
# Keeping this makes our cache ~7G, causing it to be evicted often. Rather caching pip, so this goes OK fast.
101102
- name: Don't cache inference_multi_CI tox dir
102-
run: rm -rf .tox/inference_multi_CI
103+
run: rmz --force .tox/inference_multi_CI
103104

104105
# Show disk usage
105106
- run: df -h

0 commit comments

Comments
 (0)