Skip to content

Commit

Permalink
Merge pull request #1989 from keboola/fix-macos-ci-no-space-on-device
Browse files Browse the repository at this point in the history
fix: Prevent no disk space left on device by removing usused SDKs
  • Loading branch information
Matovidlo authored Sep 3, 2024
2 parents 4ae8247 + 731bc2c commit 1cfc89b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,17 @@ jobs:
docker-images: false
swap-storage: false

# To free up disk space to not run out during the run
- name: Delete unused SDKs MacOS
if: matrix.name == 'mac-os'
run: |
echo "BEFORE CLEAN-UP:"
df -hI /dev/disk3s1s1
sudo rm -rf /Applications/Xcode_*.app
echo "AFTER CLEAN-UP:"
df -hI /dev/disk3s1s1
continue-on-error: true

- name: Setup Go, tools and caching
uses: ./.github/actions/go-setup
with:
Expand Down

0 comments on commit 1cfc89b

Please sign in to comment.