From 8c993704f9960c8a2511b14f934c73822d9271c3 Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 22 Apr 2026 19:18:01 +0800 Subject: [PATCH] fix: wf efficiency --- .github/workflows/test_common.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_common.yml b/.github/workflows/test_common.yml index 6cf58c938..8409c5f47 100644 --- a/.github/workflows/test_common.yml +++ b/.github/workflows/test_common.yml @@ -39,6 +39,7 @@ env: jobs: tests: name: tests + if: ${{ !inputs.fleet_tests || matrix.shard == 0 }} strategy: fail-fast: false matrix: @@ -279,7 +280,7 @@ jobs: for key in $(jq -r 'keys[]' results.json); do result=$(jq -r --arg key "$key" '.[$key]' results.json) echo "Key: $key, Value: $result" - if [ "$result" != "success" ]; then + if [ -n "$result" ] && [ "$result" != "success" ]; then echo "Value 'success' not found at key: $key" TESTS_RESULT="failure" break