Skip to content

Commit 9cffd53

Browse files
committed
fix: Align instrumented-tests job condition with workflow-level environment variable
- Update job condition from 'vars.RUN_INSTRUMENTED_TESTS == true' to 'vars.RUN_INSTRUMENTED_TESTS != false' - Fixes issue where instrumented tests job never ran despite workflow env being set to true - Job-level condition now matches workflow-level environment variable logic - Removes unnecessary pull_request condition (redundant with workflow triggers) This ensures instrumented tests actually execute when the environment variable evaluates to true at the workflow level.
1 parent 9527a77 commit 9cffd53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
# Matrix instrumented tests for minSdk and targetSdk
7777
instrumented-tests:
7878
runs-on: ubuntu-latest
79-
if: ${{ needs.test.result == 'success' && (vars.RUN_INSTRUMENTED_TESTS == 'true' || github.event_name == 'pull_request') }}
79+
if: ${{ needs.test.result == 'success' && vars.RUN_INSTRUMENTED_TESTS != 'false' }}
8080
needs: test
8181
strategy:
8282
fail-fast: false

0 commit comments

Comments
 (0)