Skip to content

Commit cc5fc26

Browse files
authored
fix(github): Coverage check for modified files (#1817)
1 parent 8ee5f0f commit cc5fc26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
./.github/scripts/fill_introduced_tests.sh "$CHANGED_TEST_FILES" "${{ github.workspace }}/evmtest_coverage/coverage/PATCH_TESTS" "${{ env.BLOCK_GAS_LIMIT }}" "${{ env.FILL_UNTIL }}"
134134
135135
- name: Parse and fill introduced test sources from before the PR
136-
if: ${{ (steps.changed-tests.outputs.tests_any_modified == 'true' || steps.changed-tests.outputs.tests_any_deleted == 'true') && steps.ported-from.outputs.any_ported == 'false' }}
136+
if: ${{ (steps.changed-tests.outputs.tests_modified_files_count != '0' || steps.changed-tests.outputs.tests_deleted_files_count != '0') && steps.ported-from.outputs.any_ported == 'false' }}
137137
id: pre-patch-fill
138138
env:
139139
MODIFIED_TEST_FILES: ${{ steps.changed-tests.outputs.tests_modified_files }}

0 commit comments

Comments
 (0)