Skip to content

Commit f6bc87d

Browse files
committed
WIP:ci: track disk space usage when running rust tests
1 parent 651ca94 commit f6bc87d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,10 @@ jobs:
211211
runs-on: ${{ matrix.os }}
212212

213213
steps:
214+
- name: Disk space usage
215+
if: runner.os != 'Windows'
216+
run: df -h
217+
214218
- name: Checkout sources
215219
uses: actions/checkout@v5
216220

@@ -224,6 +228,10 @@ jobs:
224228
- name: Build tests
225229
run: cargo nextest run --no-run ${{ matrix.test-args }}
226230

231+
- name: Disk space usage
232+
if: runner.os != 'Windows' && (success() || failure())
233+
run: df -h
234+
227235
- name: Run tests
228236
run: cargo nextest run --profile ci ${{ matrix.test-args }}
229237

@@ -246,6 +254,10 @@ jobs:
246254
name: test-results-${{ runner.os }}-${{ runner.arch }}
247255
path: ./test-results-*.xml
248256

257+
- name: Disk space usage
258+
if: runner.os != 'Windows' && (success() || failure())
259+
run: df -h
260+
249261
check:
250262
runs-on: ubuntu-24.04
251263
steps:

0 commit comments

Comments
 (0)