Skip to content

Commit

Permalink
Set fail fast to false in test-docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverMendel committed Feb 1, 2024
1 parent 3b5bf20 commit 59aeed1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
name: Test Docker Image
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions test/compare-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ compare_result=$(sed 's|e+|*10^|g' <<< $compare_result)
different=$(echo "$compare_result <= $maximum_difference" | bc -l)

if [[ $different = 1 ]]; then
echo "No difference found! Different pixels in 1920x1080 image is $compare_result and threshold is $threshold difference ($maximum_difference pixels)."
echo "No difference found! In the 1920x1080 screenshot there are $compare_result different pixels, threshold is $maximum_difference pixels."
else
echo "Difference detected. Different pixels in 1920x1080 image is $compare_result and threshold is $threshold difference ($maximum_difference pixels)."
echo "Difference detected. In the 1920x1080 screenshot there are $compare_result different pixels, threshold is $maximum_difference pixels."
exit 1
fi

0 comments on commit 59aeed1

Please sign in to comment.