Skip to content

Commit 85c84dd

Browse files
committed
Try freeing some disk space for Docker examples too
Try freeing some disk space Signed-off-by: paul.profizi <[email protected]> Try freeing some disk space Signed-off-by: paul.profizi <[email protected]>
1 parent 673177e commit 85c84dd

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/examples_docker.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,29 @@ jobs:
6565
os: ["ubuntu-latest"]
6666

6767
steps:
68+
- name: "Check disk space"
69+
run: df . -h
70+
71+
- name: "Free disk space"
72+
run: |
73+
sudo rm -rf \
74+
/usr/share/dotnet /usr/local/lib/android /opt/ghc \
75+
/usr/local/share/powershell /usr/share/swift /usr/local/.ghcup \
76+
/usr/lib/jvm || true
77+
78+
- name: "Check disk space"
79+
run: df . -h
6880
- uses: actions/checkout@v4
6981

7082
- name: "Setup Python"
7183
uses: actions/[email protected]
7284
with:
7385
python-version: ${{ matrix.python-version }}
7486

87+
- name: "Check disk space"
88+
run: df . -h
89+
- uses: actions/checkout@v4
90+
7591
- name: "Install requirements"
7692
run: pip install -r requirements/requirements_build.txt
7793

@@ -99,6 +115,10 @@ jobs:
99115
run: |
100116
pip install dist/${{ steps.wheel.outputs.wheel_name }}[plotting]
101117
118+
- name: "Check disk space"
119+
run: df . -h
120+
- uses: actions/checkout@v4
121+
102122
- name: "Install DPF"
103123
id: set-server-path
104124
uses: ansys/pydpf-actions/[email protected]
@@ -107,6 +127,10 @@ jobs:
107127
standalone_suffix: ${{ inputs.standalone_suffix }}
108128
ANSYS_VERSION : ${{inputs.ANSYS_VERSION}}
109129

130+
- name: "Check disk space"
131+
run: df . -h
132+
- uses: actions/checkout@v4
133+
110134
- name: "Check licences of packages"
111135
uses: ansys/pydpf-actions/[email protected]
112136

@@ -124,9 +148,17 @@ jobs:
124148
shell: bash
125149
run: pip list
126150

151+
- name: "Check disk space"
152+
run: df . -h
153+
- uses: actions/checkout@v4
154+
127155
- name: "Run examples"
128156
shell: bash
129157
working-directory: .ci
130158
run: |
131159
echo on
132160
python run_examples.py
161+
162+
- name: "Check disk space"
163+
run: df . -h
164+
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)