File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -329,21 +329,24 @@ jobs:
329329 run : |
330330 cd ${HOME}/build/project
331331 mkdir -p var/www/behat-output
332- docker compose --env-file=.env exec -T --user www-data app sh -c '
333- vendor/bin/ibexabehat \
334- --group-count=${{ needs.setup-jobs.outputs.job-count }} \
335- --group-offset=${{ matrix.offset }} \
336- ${{ inputs.test-suite }} \
337- --process=1
332+
333+ docker compose run --rm \
334+ -v ${HOME}/build/project/behat-output:/var/www/behat-output \
335+ --user www-data app sh -c '
336+ vendor/bin/behat \
337+ --group-count=${{ needs.setup-jobs.outputs.job-count }} \
338+ --group-offset=${{ matrix.offset }} \
339+ ${{ inputs.test-suite }} \
340+ --process=1
338341 '
339342 continue-on-error : true
340343
341344 - name : Upload Behat artifacts
342- if : always ()
345+ if : failure ()
343346 uses : actions/upload-artifact@v4
344347 with :
345348 name : behat-artifacts
346- path : /var/www /behat-output/*
349+ path : ${HOME}/build/project /behat-output/* *
347350
348351 - if : always() && github.event_name != 'pull_request'
349352 name : Create Slack message variables
You can’t perform that action at this time.
0 commit comments