Skip to content

Commit 673177e

Browse files
committed
Try freeing some disk space
Signed-off-by: paul.profizi <[email protected]> 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 8a44c9c commit 673177e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test_docker.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,29 @@ jobs:
4444
os: ["ubuntu-latest"]
4545

4646
steps:
47+
- name: "Check disk space"
48+
run: df . -h
49+
50+
- name: "Free disk space"
51+
run: |
52+
sudo rm -rf \
53+
/usr/share/dotnet /usr/local/lib/android /opt/ghc \
54+
/usr/local/share/powershell /usr/share/swift /usr/local/.ghcup \
55+
/usr/lib/jvm || true
56+
57+
- name: "Check disk space"
58+
run: df . -h
59+
4760
- uses: actions/checkout@v4
4861

4962
- name: "Setup Python"
5063
uses: actions/[email protected]
5164
with:
5265
python-version: ${{ matrix.python-version }}
5366

67+
- name: "Check disk space"
68+
run: df . -h
69+
5470
- name: "Install requirements"
5571
run: pip install -r requirements/requirements_build.txt
5672

@@ -78,6 +94,9 @@ jobs:
7894
run: |
7995
pip install dist/${{ steps.wheel.outputs.wheel_name }}[plotting]
8096
97+
- name: "Check disk space"
98+
run: df . -h
99+
81100
- name: "Install DPF"
82101
id: set-server-path
83102
uses: ansys/pydpf-actions/[email protected]
@@ -86,6 +105,9 @@ jobs:
86105
standalone_suffix: ${{ inputs.standalone_suffix }}
87106
ANSYS_VERSION : ${{inputs.ANSYS_VERSION}}
88107

108+
- name: "Check disk space"
109+
run: df . -h
110+
89111
- name: "Check licences of packages"
90112
uses: ansys/pydpf-actions/[email protected]
91113

@@ -114,6 +136,9 @@ jobs:
114136
echo "COVERAGE=--cov=ansys.dpf.${{env.MODULE}} --cov-report=xml --cov-report=html --log-level=ERROR --cov-append" >> $GITHUB_ENV
115137
echo "RERUNS=--reruns 2 --reruns-delay 1" >> $GITHUB_ENV
116138
139+
- name: "Check disk space"
140+
run: df . -h
141+
117142
- name: "Test API"
118143
uses: nick-fields/retry@v2
119144
with:
@@ -213,3 +238,6 @@ jobs:
213238

214239
- name: "Upload coverage to Codecov"
215240
uses: codecov/codecov-action@v3
241+
242+
- name: "Check disk space"
243+
run: df . -h

0 commit comments

Comments
 (0)