From 67541797bd2d6cabb5092c39bbb5dec15793e6fe Mon Sep 17 00:00:00 2001 From: Dan McPherson Date: Thu, 28 Nov 2024 14:58:29 -0500 Subject: [PATCH] Add disk check after tests run Signed-off-by: Dan McPherson --- .github/workflows/e2e-nvidia-l4-x1.yml | 6 +++++- .github/workflows/e2e-nvidia-l40s-x4.yml | 6 +++++- .github/workflows/e2e-nvidia-t4-x1.yml | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e-nvidia-l4-x1.yml b/.github/workflows/e2e-nvidia-l4-x1.yml index 2f82071b..b92d09f4 100644 --- a/.github/workflows/e2e-nvidia-l4-x1.yml +++ b/.github/workflows/e2e-nvidia-l4-x1.yml @@ -130,7 +130,7 @@ jobs: . ../instructlab/venv/bin/activate pip install -v . - - name: Check disk + - name: Check disk before tests run: | df -h @@ -142,6 +142,10 @@ jobs: . venv/bin/activate ./scripts/e2e-ci.sh -m + - name: Check disk after tests + run: | + df -h + stop-medium-ec2-runner: needs: - start-medium-ec2-runner diff --git a/.github/workflows/e2e-nvidia-l40s-x4.yml b/.github/workflows/e2e-nvidia-l40s-x4.yml index be06ef4f..3b3fd203 100644 --- a/.github/workflows/e2e-nvidia-l40s-x4.yml +++ b/.github/workflows/e2e-nvidia-l40s-x4.yml @@ -160,7 +160,7 @@ jobs: pip install . pip install .[cuda] - - name: Check disk + - name: Check disk before tests run: | df -h @@ -172,6 +172,10 @@ jobs: . venv/bin/activate ./scripts/e2e-ci.sh -l + - name: Check disk after tests + run: | + df -h + - name: Add comment to PR if the workflow failed if: failure() && steps.check_pr.outputs.is_pr == 'true' working-directory: ./sdg diff --git a/.github/workflows/e2e-nvidia-t4-x1.yml b/.github/workflows/e2e-nvidia-t4-x1.yml index f1e93811..b71fc5ae 100644 --- a/.github/workflows/e2e-nvidia-t4-x1.yml +++ b/.github/workflows/e2e-nvidia-t4-x1.yml @@ -128,7 +128,7 @@ jobs: . ../instructlab/venv/bin/activate pip install . - - name: Check disk + - name: Check disk before tests run: | df -h @@ -138,6 +138,10 @@ jobs: . venv/bin/activate ./scripts/e2e-ci.sh -s + - name: Check disk after tests + run: | + df -h + stop-small-ec2-runner: needs: - start-small-ec2-runner