From 82ab6c3180a823f18f3247b4712aabedd4ef758d Mon Sep 17 00:00:00 2001 From: Grzegorz Sadowski Date: Mon, 13 Jan 2025 08:41:16 +0100 Subject: [PATCH] [CI] Add reruns to behat scenarios --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b51c7f37..99ad644f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -268,9 +268,9 @@ jobs: name: Run Behat run: | if [ "${{ matrix.wkhtmltopdf }}" != "false" ]; then - vendor/bin/behat --colors --strict -vvv --no-interaction -f progress --tags="~@pdf_disabled" + vendor/bin/behat --colors --strict -vvv --no-interaction -f progress --tags="~@pdf_disabled" || vendor/bin/behat --colors --strict -vvv --no-interaction -f progress --tags="~@pdf_disabled" --rerun || vendor/bin/behat --colors --strict -vvv --no-interaction -f progress --tags="~@pdf_disabled" --rerun else - vendor/bin/behat --colors --strict -vvv --no-interaction -f progress --tags="~@pdf_enabled" + vendor/bin/behat --colors --strict -vvv --no-interaction -f progress --tags="~@pdf_enabled" || vendor/bin/behat --colors --strict -vvv --no-interaction -f progress --tags="~@pdf_enabled" --rerun || vendor/bin/behat --colors --strict -vvv --no-interaction -f progress --tags="~@pdf_enabled" --rerun || vendor/bin/behat --colors --strict -vvv --no-interaction -f progress --tags="~@pdf_enabled" --rerun || vendor/bin/behat --colors --strict -vvv --no-interaction -f progress --tags="~@pdf_enabled" --rerun fi -