Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: attempt to free space before running docker tests (#11084)

Andrey Lushnikovdb227e10590f
diff --git a/.github/workflows/tests_docker.yml b/.github/workflows/tests_docker.yml
index 8a3afcf7e6..0522aa2fcf 100644
--- a/.github/workflows/tests_docker.yml
+++ b/.github/workflows/tests_docker.yml
@@ -51,6 +51,18 @@ jobs:
- run: npm ci
- run: npm run build
- run: ./utils/docker/build.sh --${{ matrix.arch }} ${{ matrix.tag }} playwright:localbuild
+ - name: Freeup Space
+ run: |
+ pwd
+ df -h
+ # Based on the official advice:
+ # https://github.com/actions/virtual-environments/issues/2840#issuecomment-790492173
+ sudo rm -rf /usr/share/dotnet
+ sudo rm -rf /opt/ghc
+ sudo rm -rf "/usr/local/share/boost"
+ sudo rm -rf "$AGENT_TOOLSDIRECTORY"
+ df -h
+
- name: Launch container
run: |
docker run \