Skip to content

Commit ebf8105

Browse files
authored
more conditionality handling for more cases (#20038)
1 parent 9d1a7b9 commit ebf8105

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,13 +297,13 @@ jobs:
297297
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
298298

299299
- name: Coverage report (chia/)
300-
if: always()
300+
if: always() && steps.alls-green.outputs.success == 'true'
301301
run: |
302302
set -o pipefail
303303
coverage report --rcfile=.coveragerc --data-file=coverage-reports/.coverage --include='chia/**/*' --omit='chia/_tests/**/*' --show-missing | tee coverage-reports/coverage-chia-stdout
304304
305305
- name: Coverage report (chia/_tests/)
306-
if: always()
306+
if: always() && steps.alls-green.outputs.success == 'true'
307307
run: |
308308
set -o pipefail
309309
coverage report --rcfile=.coveragerc --data-file=coverage-reports/.coverage --include='chia/_tests/**/*' --show-missing | tee coverage-reports/coverage-tests-stdout
@@ -314,7 +314,7 @@ jobs:
314314
echo "hash=$(git rev-parse HEAD~1)" >> "$GITHUB_OUTPUT"
315315
316316
- name: Coverage report (diff)
317-
if: (github.base_ref != '' || github.event.before != '') && always()
317+
if: (github.base_ref != '' || github.event.before != '') && always() && steps.alls-green.outputs.success == 'true'
318318
env:
319319
compare-branch: ${{ github.base_ref == '' && steps.parent-commit.outputs.hash || format('origin/{0}', github.base_ref) }}
320320
run: |

0 commit comments

Comments
 (0)