diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 886861ad3a..2f37398985 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -158,6 +158,7 @@ jobs: - name: Check disk space (Before) run: df -h / + if: always() # Clear space on macOS runner which is prone to running out of space - name: Free disk space @@ -169,14 +170,21 @@ jobs: continue-on-error: true if: ${{ matrix.runner == 'macos-14' }} - - name: Check disk space (After) + - name: Check disk space (after MacOS freeing) run: df -h / + if: always() - name: Run Unit Tests + continue-on-error: true run: | make test-unit + - name: Check disk space (after unit tests) + run: df -h / + if: always() + - name: Run Integration Tests + continue-on-error: true run: | make test-integration env: @@ -184,6 +192,11 @@ jobs: # Only run integration tests on macOS as they will be run on ubuntu separately if: ${{ matrix.runner == 'macos-14' }} + - name: Check disk space (after integration tests) + run: df -h / + if: always() + + all-integration-tests: # run on a larger runner for more SSD/resource access runs-on: ubuntu-22.04-4core-spin @@ -302,6 +315,15 @@ jobs: with: openssl-windows: "${{ matrix.os == 'windows-latest' }}" + - name: Check disk space (before release build) + run: df -h / + if: always() + - name: build release shell: bash + continue-on-error: true run: cargo build --release ${{ matrix.config.extraArgs }} + + - name: Check disk space (after release build) + run: df -h / + if: always()