diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 542da21c..d4830b8f 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -14,6 +14,15 @@ jobs: runs-on: ubuntu-latest steps: + # Appears that we get disk memory space problem, thus as recommended by this + # thread (https://github.com/actions/runner-images/issues/2840#issuecomment-790492173) + # we clean the runner before starting the tests to free some spaces. + - name: Remove unnecessary files + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf /opt/ghc + sudo rm -rf "/usr/local/share/boost" + sudo rm -rf "$AGENT_TOOLSDIRECTORY" - uses: actions/checkout@v3 - name: Build the Docker image run: | diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 030faa11..f69aac2d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,6 +10,15 @@ jobs: python-version: [ "3.8", "3.9", "3.10", "3.11" ] steps: + # Appears that we get disk memory space problem, thus as recommended by this + # thread (https://github.com/actions/runner-images/issues/2840#issuecomment-790492173) + # we clean the runner before starting the tests to free some spaces. + - name: Remove unnecessary files + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf /opt/ghc + sudo rm -rf "/usr/local/share/boost" + sudo rm -rf "$AGENT_TOOLSDIRECTORY" - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4