Skip to content

Commit

Permalink
TASK: Run behat correctly in cli (like in Neos)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Jun 18, 2024
1 parent c1ba433 commit 1b13fbd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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 <<EOF >> Configuration/Testing/Settings.yaml
Expand All @@ -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() }}
Expand Down

0 comments on commit 1b13fbd

Please sign in to comment.