Skip to content

Commit d146229

Browse files
another approach
1 parent fc31f61 commit d146229

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
@@ -323,19 +323,15 @@ jobs:
323323
- name: Run tests
324324
run: |
325325
cd ${HOME}/build/project
326-
mkdir -p var/www/behat-output
327-
328-
docker compose run --rm \
329-
-v ${HOME}/build/project/behat-output:/var/www/behat-output \
330-
--entrypoint "" \
331-
--user www-data app sh -c '
332-
vendor/bin/behat \
333-
--group-count=${{ needs.setup-jobs.outputs.job-count }} \
334-
--group-offset=${{ matrix.offset }} \
335-
${{ inputs.test-suite }} \
336-
--process=1
326+
mkdir -p behat-output
327+
docker compose exec -T --user www-data app sh -c '
328+
vendor/bin/behat \
329+
--group-count=${{ needs.setup-jobs.outputs.job-count }} \
330+
--group-offset=${{ matrix.offset }} \
331+
${{ inputs.test-suite }} \
332+
--process=1
337333
'
338-
continue-on-error: true
334+
continue-on-error: false
339335

340336
- name: Upload Behat artifacts
341337
if: failure()

0 commit comments

Comments
 (0)