Skip to content

Commit b5b0fdc

Browse files
authored
Create more space for database tests (#2204)
* Attempt to get some more space * Show disk space after build and tests
1 parent 82be75e commit b5b0fdc

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/database-integration-tests.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ jobs:
4848
name: Maximize build space
4949
uses: easimon/maximize-build-space@master
5050
with:
51-
root-reserve-mb: '8192'
51+
root-reserve-mb: '12288'
5252
remove-dotnet: 'true'
5353
remove-android: 'true'
5454
remove-haskell: 'true'
5555
remove-codeql: 'true'
5656
remove-docker-images: 'true'
5757
- id: restart-docker
58-
name: Restart Docker and verify location
58+
name: Restart Docker
5959
shell: bash
6060
run: |
6161
# Restart Docker to take into account additional disk space
@@ -127,6 +127,15 @@ jobs:
127127
--projects schemacrawler-dbtest,schemacrawler-$dbproject \
128128
--also-make \
129129
clean verify
130+
- id: disk-space
131+
name: Show disk space
132+
shell: bash
133+
run: |
134+
# Show disk space
135+
echo "Docker used space:"
136+
sudo du -sh /var/lib/docker
137+
echo "Available storage:"
138+
df -h
130139
- id: gather-expected-results
131140
name: Gather expected results for failed tests
132141
if: always()
@@ -141,7 +150,7 @@ jobs:
141150
find . -type d -name "unit_tests_results_output" -exec echo {} \;
142151
# Save expected results files
143152
echo "Zip expected results:"
144-
.github/scripts/unit-tests-results-output.sh $(realpath .)
153+
.github/scripts/unit-tests-results-output.sh $(realpath .)
145154
- id: upload-unit-tests-results-output
146155
name: Upload expected results files
147156
uses: actions/upload-artifact@v5

0 commit comments

Comments
 (0)