From 655e0936321d4f31d8b1d5d8c5432688cdaea779 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Wed, 5 Mar 2025 13:54:29 -0800 Subject: [PATCH] Don't run upload if skipped, only success or failure? --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c78c69530..dbe317e5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -290,6 +290,10 @@ jobs: tests-data-upload: name: "Upload test status to Codecov" runs-on: ubuntu-24.04 + if: >- + always() && + (needs.tests-backend.result == 'failure' || needs.tests-backend.result == 'success') && + (needs.tests-frontend.result == 'failure' || needs.tests-frontend.result == 'success') needs: - tests-backend - tests-frontend