Skip to content

Commit f02a9e8

Browse files
Add failure condition in the test report execution (#490)
2 parents adb8408 + f94dd94 commit f02a9e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/BuildJobs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ jobs:
177177
sudo find ${{ github.workspace }}/packages/* -type f -exec chmod 644 {} \;
178178
- name: "Generating test report"
179179
working-directory: ./automation/run-e2e
180+
if: failure()
180181
run: |
181182
report_count=$(find ../../packages -type f -path "*/cypress/results/*" -name "*.json" | wc -l)
182183
if [ $report_count -gt 0 ];

0 commit comments

Comments
 (0)