We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3dffeb commit e41d111Copy full SHA for e41d111
1 file changed
.github/workflows/test_full.yaml
@@ -33,7 +33,10 @@ jobs:
33
- name: Run all tests
34
shell: bash
35
run: |
36
- export JOB_TMP="/tmp/rbc_test_$(date +%s%N)"
+ # Clean up stale tmpfs dirs from previous crashed runs
37
+ find /dev/shm -maxdepth 1 -name 'rbc_test_*' -mmin +120 -exec rm -rf {} + 2>/dev/null || true
38
+
39
+ export JOB_TMP="/dev/shm/rbc_test_$(date +%s%N)"
40
mkdir -p $JOB_TMP
41
echo "JOB_TMP=$JOB_TMP" >> $GITHUB_ENV
42
echo "Job temp directory: $JOB_TMP"
@@ -88,4 +91,5 @@ jobs:
88
91
89
92
90
93
echo "Cleaning up job temp directory: $JOB_TMP"
94
+ echo "Temp directory size: $(du -sh $JOB_TMP 2>/dev/null | cut -f1)"
95
rm -rf $JOB_TMP
0 commit comments