diff --git a/.github/workflows/build_dependencies.yml b/.github/workflows/build_dependencies.yml index 6ffc6455e..e9c456fff 100644 --- a/.github/workflows/build_dependencies.yml +++ b/.github/workflows/build_dependencies.yml @@ -164,6 +164,15 @@ jobs: fail_on_cache_miss: true if: ${{ inputs.testing == 'True' && github.event_name != 'pull_request' && steps.restore-cache.outputs.cache-hit != 'true' }} + - name: Check disk space + run: | + df -h /tmp + sudo mkdir -p /mnt/tmp + sudo chmod 1777 /mnt/tmp + sudo mount --bind /mnt/tmp /tmp + ls -l /tmp + df -h /tmp + - name: Code Coverage Run run: | conan install \ @@ -177,6 +186,15 @@ jobs: . conan build . if: ${{ inputs.testing == 'True' && inputs.platform == 'ubuntu-22.04' && inputs.build-type == 'Debug' && inputs.malloc-impl == 'libc' && inputs.prerelease == 'False' }} + continue-on-error: true + + - name: Check disk space if previous step failed + if: failure() && steps.code_coverage_run.outcome == 'failure' + run: | + echo "Code Coverage Run. Checking disk space..." + df -h /tmp + df -h + ls -l /tmp - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 @@ -201,3 +219,18 @@ jobs: --build missing \ . if: ${{ inputs.testing == 'True' && ( inputs.platform != 'ubuntu-22.04' || inputs.build-type != 'Debug' || inputs.malloc-impl != 'libc' || inputs.prerelease != 'False' ) }} + continue-on-error: true + + - name: Check disk space if previous step failed + if: failure() && steps.create_and_test_package.outcome == 'failure' + run: | + echo "Create and Test Package step failed. Checking disk space..." + df -h /tmp + df -h + ls -l /tmp + + - name: Check disk space at end + run: | + df -h /tmp + df -h + ls -l /tmp \ No newline at end of file