Skip to content

Commit 3f15d97

Browse files
committed
wtf
1 parent 764cd94 commit 3f15d97

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,38 +67,38 @@ jobs:
6767
driverRepoBranch: "master"
6868
php: "7.2"
6969
# language=bash
70-
setUpCmd: |
70+
setUpCmd: >
7171
export SELENIUM_IMAGE=selenium/standalone-firefox:2.53.1
7272
docker compose up --wait --quiet-pull
7373
curl --retry 5 --retry-all-errors --retry-delay 1 --max-time 10 --head -X GET http://localhost:4444/wd/hub/status
7474
# language=bash
75-
testCmd: |
75+
testCmd: >
7676
export WEB_FIXTURES_BROWSER=firefox
7777
export SELENIUM_VERSION=2.53.1
7878
export DRIVER_MACHINE_BASE_PATH=/fixtures/
7979
export WEB_FIXTURES_HOST=http://host.docker.internal:8002
8080
./vendor/bin/phpunit --colors=always --testdox
8181
# language=bash
82-
tearDownCmd: |
82+
tearDownCmd: >
8383
docker compose logs --no-color --no-log-prefix --timestamps selenium > ./logs/selenium.docker.log
8484
8585
- name: "WebDriver-Classic"
8686
driverRepoUrl: "https://github.com/minkphp/webdriver-classic-driver.git"
8787
driverRepoBranch: "main"
8888
php: "7.4"
8989
# language=bash
90-
setUpCmd: |
90+
setUpCmd: >
9191
export SELENIUM_IMAGE=selenium/standalone-firefox:4
9292
docker compose up --wait --quiet-pull
9393
curl --retry 5 --retry-all-errors --retry-delay 1 --max-time 10 --head -X GET http://localhost:4444/wd/hub/status
9494
# language=bash
95-
testCmd: |
95+
testCmd: >
9696
export WEB_FIXTURES_BROWSER=firefox
9797
export DRIVER_MACHINE_BASE_PATH=/fixtures/
9898
export WEB_FIXTURES_HOST=http://host.docker.internal:8002
9999
./vendor/bin/phpunit --colors=always --testdox
100100
# language=bash
101-
tearDownCmd: |
101+
tearDownCmd: >
102102
docker compose logs --no-color --no-log-prefix --timestamps selenium > ./logs/selenium.docker.log
103103
104104
Unofficial:
@@ -122,20 +122,20 @@ jobs:
122122
driverRepoBranch: "main"
123123
php: "8.1"
124124
# language=bash
125-
setUpCmd: |
126-
'docker run --detach --quiet --net host --shm-size 2g --entrypoint "" \
125+
setUpCmd: >
126+
docker run --detach --quiet --net host --shm-size 2g '--entrypoint ""' \
127127
--volume ./vendor/mink/driver-testsuite/web-fixtures:/fixtures \
128128
--name chrome zenika/alpine-chrome:latest \
129129
chromium-browser --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222 \
130130
--no-sandbox --disable-gpu --headless=new --disable-extensions \
131-
--disable-software-rasterizer --disable-setuid-sandbox --disable-web-security'
131+
--disable-software-rasterizer --disable-setuid-sandbox --disable-web-security
132132
sed "s#http://localhost/#http://localhost:8002/#" phpunit.xml.dist > phpunit.xml
133133
curl --retry 5 --retry-all-errors --retry-delay 1 --max-time 10 --head -X GET http://localhost:9222/
134134
# language=bash
135-
testCmd: |
135+
testCmd: >
136136
export WEB_FIXTURES_BROWSER=chrome
137137
export DRIVER_MACHINE_BASE_PATH=/fixtures/
138138
./vendor/bin/phpunit --colors=always --testdox
139139
# language=bash
140-
tearDownCmd: |
140+
tearDownCmd: >
141141
docker logs chrome > ./logs/chrome.docker.log

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555

5656
- name: Set up
5757
# language=bash
58-
run: |
58+
run: >
5959
mkdir ./logs
6060
MINK_HOST=0.0.0.0:8002 ./vendor/bin/mink-test-server &> ./logs/mink-test-server.log &
6161
eval "${{ inputs.setUpCmd }}"
@@ -67,7 +67,7 @@ jobs:
6767

6868
- name: Tear down
6969
# language=bash
70-
run: |
70+
run: >
7171
eval "${{ inputs.tearDownCmd }}"
7272
7373
- name: Upload logs as artifact

0 commit comments

Comments
 (0)