Skip to content

Commit 6475fb2

Browse files
another approach
1 parent 2a8485f commit 6475fb2

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/browser-tests.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -298,19 +298,15 @@ jobs:
298298
- name: Run tests
299299
run: |
300300
cd ${HOME}/build/project
301-
mkdir -p var/www/behat-output
302-
303-
docker compose run --rm \
304-
-v ${HOME}/build/project/behat-output:/var/www/behat-output \
305-
--entrypoint "" \
306-
--user www-data app sh -c '
307-
vendor/bin/behat \
308-
--group-count=${{ needs.setup-jobs.outputs.job-count }} \
309-
--group-offset=${{ matrix.offset }} \
310-
${{ inputs.test-suite }} \
311-
--process=1
301+
mkdir -p behat-output
302+
docker compose exec -T --user www-data app sh -c '
303+
vendor/bin/behat \
304+
--group-count=${{ needs.setup-jobs.outputs.job-count }} \
305+
--group-offset=${{ matrix.offset }} \
306+
${{ inputs.test-suite }} \
307+
--process=1
312308
'
313-
continue-on-error: true
309+
continue-on-error: false
314310

315311
- name: Upload Behat artifacts
316312
if: failure()

0 commit comments

Comments
 (0)