Skip to content

Commit 316302d

Browse files
yet another approach
1 parent e743c1b commit 316302d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/browser-tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -324,15 +324,16 @@ jobs:
324324
run: |
325325
cd ${HOME}/build/project
326326
mkdir -p behat-output
327-
# run behat inside the app container, with volume mount
328327
docker compose run --rm \
329-
-v ${HOME}/build/project/behat-output:/var/www/behat-output \
330-
--user www-data app sh -c '
331-
vendor/bin/ibexabehat \
328+
-v $GITHUB_WORKSPACE/build/project/behat-output:/var/www/behat-output \
329+
app sh -c '
330+
su -s /bin/sh www-data -c "
331+
vendor/bin/behat \
332332
--group-count=${{ needs.setup-jobs.outputs.job-count }} \
333333
--group-offset=${{ matrix.offset }} \
334334
${{ inputs.test-suite }} \
335335
--process=1
336+
"
336337
'
337338
continue-on-error: false
338339

@@ -341,7 +342,7 @@ jobs:
341342
uses: actions/upload-artifact@v4
342343
with:
343344
name: behat-artifacts
344-
path: ${HOME}/build/project/behat-output/**
345+
path: build/project/behat-output/**
345346

346347
- if: always() && github.event_name != 'pull_request'
347348
name: Create Slack message variables

0 commit comments

Comments
 (0)