From 1b13fbdbd385f427ec0b88bb351864b1a47ae213 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Tue, 18 Jun 2024 17:51:26 +0200 Subject: [PATCH] TASK: Run behat correctly in cli (like in Neos) --- .github/workflows/tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 391450c..d548775 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -82,7 +82,7 @@ jobs: cd ${NEOS_BASE_FOLDER} composer require --no-update --no-interaction neos/redirecthandler:"^6.0" composer require --no-update --no-interaction neos/redirecthandler-databasestorage:"^6.0" - + git -C ../${{ env.PACKAGE_FOLDER }} checkout -b build composer config repositories.package '{ "type": "path", "url": "../${{ env.PACKAGE_FOLDER }}", "options": { "symlink": false } }' composer require --no-update --no-interaction neos/redirecthandler-neosadapter:"dev-build as dev-${PACKAGE_TARGET_VERSION}" @@ -94,7 +94,7 @@ jobs: - name: Setup Flow configuration run: | - cd ${NEOS_BASE_FOLDER} + cd ${NEOS_BASE_FOLDER} mkdir -p Configuration/Testing rm -f Configuration/Testing/Settings.yaml cat <> Configuration/Testing/Settings.yaml @@ -119,10 +119,10 @@ jobs: cd ${NEOS_BASE_FOLDER} ./flow cr:setup - - name: Run Functional tests + - name: Run Behavioral tests run: | cd ${NEOS_BASE_FOLDER} - CATCHUPTRIGGER_ENABLE_SYNCHRONOUS_OPTION=1 bin/behat -c Packages/Application/Neos.RedirectHandler.NeosAdapter/Tests/Behavior/behat.yml.dist + bin/behat -f progress --strict --no-interaction -vvv --stop-on-failure -c Packages/Application/Neos.RedirectHandler.NeosAdapter/Tests/Behavior/behat.yml.dist - name: Show log on failure if: ${{ failure() }}