From 58ae46c4608e0bb1119b83391ea7ef14afc72509 Mon Sep 17 00:00:00 2001 From: Erik Burton Date: Sun, 14 Jul 2024 09:45:27 -0700 Subject: [PATCH] fix: delete unused artfiacts during flakey test execution (#13842) --- .github/workflows/ci-core.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci-core.yml b/.github/workflows/ci-core.yml index ebb2991ebb0..776bcc9eb5b 100644 --- a/.github/workflows/ci-core.yml +++ b/.github/workflows/ci-core.yml @@ -287,7 +287,14 @@ jobs: if: ${{ needs.filter.outputs.changes == 'true' }} uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4 with: + name: go_core_tests_logs path: ./artifacts + - name: Delete go_core_tests_logs/coverage.txt + if: ${{ needs.filter.outputs.changes == 'true' }} + shell: bash + run: | + # Need to delete coverage.txt so the disk doesn't fill up + rm -f ./artifacts/go_core_tests_logs/coverage.txt - name: Build flakey test runner if: ${{ needs.filter.outputs.changes == 'true' }} run: go build ./tools/flakeytests/cmd/runner