Don't run upload if skipped, only success or failure?

This commit is contained in:
Trenton H 2025-03-05 13:54:29 -08:00
parent f1bf3da8c4
commit 655e093632

View File

@ -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