Skip to content

Commit 9607140

Browse files
committed
ci: Clean up disk when testing post-training
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
1 parent 35dcfff commit 9607140

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/integration-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929
fail-fast: false # we want to run all tests regardless of failure
3030

3131
steps:
32+
# Huggingface trainer provider will download a model to train and save
33+
# checkpoints, so need more space than other flows for training.
34+
- name: Free disk space
35+
if: ${{ matrix.test-type == 'post_training' }}
36+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
37+
3238
- name: Checkout repository
3339
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3440

@@ -85,6 +91,7 @@ jobs:
8591
echo "Ollama health check failed"
8692
exit 1
8793
fi
94+
8895
- name: Check Storage and Memory Available Before Tests
8996
if: ${{ always() }}
9097
run: |

0 commit comments

Comments
 (0)