Skip to content

Commit 973cb25

Browse files
committed
Add docker system prune to samples pipeline.
1 parent 3498788 commit 973cb25

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/workflows/zephyr-samples.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,23 @@ on:
1414

1515
jobs:
1616
test:
17-
name: Twister Tests
17+
name: Twister Samples
1818
runs-on: ubuntu-22.04
1919
container: ghcr.io/zephyrproject-rtos/ci:v0.26-branch
2020
env:
2121
CMAKE_PREFIX_PATH: /opt/toolchains
2222
steps:
23-
- name: Check disk usage
24-
run: df -h
25-
- name: Clean up temporary files
26-
run: sudo rm -rf /tmp/*
23+
- name: Clean /tmp
24+
run: |
25+
df -h
26+
sudo rm -rf /tmp/*
27+
df -h
28+
- name: Docker prune
29+
run: |
30+
docker system df
31+
docker system prune -af
32+
docker system df
33+
df -h
2734
- name: Checkout
2835
uses: actions/checkout@v4
2936
with:

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ repos:
2424
- id: end-of-file-fixer
2525
exclude: '.*\.(cproj|vcxproj.*|props)$'
2626
- id: check-yaml
27+
files: \.(yaml|yml)$ # This regex ensures both .yaml and .yml files are checked
2728
args: [
2829
# for .clang-format
2930
--allow-multiple-documents,

0 commit comments

Comments
 (0)