Skip to content

Commit

Permalink
TASK: Execute behat tests from package dir
Browse files Browse the repository at this point in the history
This was fixed with neos/behat#39
  • Loading branch information
mhsdesign committed Jun 23, 2024
1 parent 1b13fbd commit 5886d3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ jobs:
- name: Run Behavioral tests
run: |
cd ${NEOS_BASE_FOLDER}
bin/behat -f progress --strict --no-interaction -vvv --stop-on-failure -c Packages/Application/Neos.RedirectHandler.NeosAdapter/Tests/Behavior/behat.yml.dist
cd Packages/Application/Neos.RedirectHandler.NeosAdapter
composer run test:behavioral:stop-on-failure
- name: Show log on failure
if: ${{ failure() }}
Expand Down
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"neos/neos": "^9.0",
"neos/flow": "^9.0"
},
"scripts": {
"test:behat-cli": "../../../bin/behat -f progress --strict --no-interaction",
"test:behavioral:stop-on-failure": "@test:behat-cli -c Tests/Behavior/behat.yml.dist -vvv --stop-on-failure"
},
"autoload": {
"psr-4": {
"Neos\\RedirectHandler\\NeosAdapter\\": "Classes"
Expand Down

0 comments on commit 5886d3d

Please sign in to comment.