Skip to content

Commit

Permalink
Merge pull request #80 from gretelai/mck/attempt-disk-cleanup
Browse files Browse the repository at this point in the history
Try cleaning up disk space on linux
  • Loading branch information
mckornfield authored Aug 15, 2023
2 parents bacaee2 + dd907fc commit 0a8a019
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ jobs:
python-version: 3.9
- name: Test Setup
run: python -m pip install tox
- name: Free up disk space on Linux
if: runner.os == 'Linux'
run: |
df -h
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
- name: Run Tests
run: tox -e integration
env:
Expand Down

0 comments on commit 0a8a019

Please sign in to comment.