Skip to content

Commit

Permalink
Check if accessibility report exists before printing warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexslavr committed Jan 15, 2025
1 parent efe09b9 commit d2468fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/demos_visual_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@ jobs:
if: matrix.STRATEGY == 'accessibility'
working-directory: apps/demos
run: |
message=$(cat $ACCESSIBILITY_TESTCAFE_REPORT_PATH)
echo "::warning ::$message"
if [ -f $ACCESSIBILITY_TESTCAFE_REPORT_PATH ]
message=$(cat $ACCESSIBILITY_TESTCAFE_REPORT_PATH)
echo "::warning ::$message"
fi
- name: Copy screenshots artifacts
if: failure() && matrix.STRATEGY == 'screenshots'
Expand Down

0 comments on commit d2468fe

Please sign in to comment.