Skip to content

Commit e6d0cd3

Browse files
committed
clean disk after each test
1 parent cc73d94 commit e6d0cd3

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/run-samples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
matrix:
2828
shard: [1, 2]
2929
splits: [2]
30-
runs-on: ubuntu-latest-8-cores
30+
runs-on: ubuntu-latest
3131

3232
env:
3333
IMAGE_NAME: localstack/localstack-azure-alpha

run-samples.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ for (( i=START; i<START+COUNT; i++ )); do
106106

107107
popd > /dev/null
108108
echo "Completed: $path"
109+
110+
# Cleanup Docker resources after each test to free up disk space
111+
echo "Cleaning up Docker resources..."
112+
docker system prune -af --volumes || true
109113
echo ""
110114
done
111115

0 commit comments

Comments
 (0)