Skip to content

Commit

Permalink
Free disk space before running integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ratushnyy committed Dec 2, 2023
1 parent 88dd558 commit 1f2b013
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,22 @@ jobs:
name: mongodb-rock
- name: Install tox
run: python3 -m pip install tox

- name: Free disk space
run: |
echo "Free disk space before cleanup"
df -T
# free space in the runner
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
echo "Free disk space after cleanup"
df -T
- name: Integration Tests
run: sg snap_microk8s -c "tox -e ${{ matrix.env }}"

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
Expand Down

0 comments on commit 1f2b013

Please sign in to comment.