From 8ff5e2f0cef760c1e69afa8cd28befc222ec0aa8 Mon Sep 17 00:00:00 2001 From: OJ Kwon <1210596+kwonoj@users.noreply.github.com> Date: Thu, 1 Jun 2023 19:46:35 -0700 Subject: [PATCH] ci(workflow): limit datadog upload more strictly --- .github/workflows/test.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a89212918cb28..a482095372b64 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1345,9 +1345,9 @@ jobs: upload_test_results: name: Upload Test results needs: - - turbopack_rust_test1 - - turbopack_rust_test2 - if: always() + [determine_jobs, turbopack_rust_test1, turbopack_rust_test2] + # We have to set condition to always, since we want to upload test results for the failed tests as well. + if: ${{ always() }} runs-on: ubuntu-latest # Do not block CI if upload fails for some reason continue-on-error: true @@ -1370,9 +1370,6 @@ jobs: with: path: artifacts - - name: List test files - run: find ./artifacts/test_reports - - name: Upload continue-on-error: true env: