File tree Expand file tree Collapse file tree 1 file changed +21
-25
lines changed Expand file tree Collapse file tree 1 file changed +21
-25
lines changed Original file line number Diff line number Diff line change 1515
1616jobs :
1717 build :
18-
1918 runs-on : ubuntu-latest
2019 strategy :
2120 matrix :
2221 node-version : [20.x]
2322
2423 steps :
25- - run : docker run -d --net=host --shm-size=2g selenium/standalone-chrome:4.26
26- - uses : actions/checkout@v4
27- - name : Use Node.js ${{ matrix.node-version }}
28- uses : actions/setup-node@v4
29- with :
30- node-version : ${{ matrix.node-version }}
31- - uses : shivammathur/setup-php@v2
32- with :
33- php-version : 8.0
34- - name : npm install
35- run : |
36- npm i --force
37- env :
38- PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : true
39- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true
40- - name : start a server
41- run : " php -S 127.0.0.1:8000 -t test/data/app &"
42- - name : run unit tests
43- run : ./node_modules/.bin/mocha test/helper/WebDriver_test.js --exit
44- - name : run unit tests - no selenium server
45- run : ./node_modules/.bin/mocha test/helper/WebDriver.noSeleniumServer_test.js --exit
46- - name : run tests
47- run : " ./bin/codecept.js run -c test/acceptance/codecept.WebDriver.js --grep @WebDriver --debug"
48-
24+ - run : docker run -d --net=host --shm-size=2g selenium/standalone-chrome:4.26
25+ - uses : actions/checkout@v4
26+ - name : Use Node.js ${{ matrix.node-version }}
27+ uses : actions/setup-node@v4
28+ with :
29+ node-version : ${{ matrix.node-version }}
30+ - uses : shivammathur/setup-php@v2
31+ with :
32+ php-version : 8.0
33+ - name : npm install
34+ run : |
35+ npm i --force
36+ env :
37+ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : true
38+ PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true
39+ - name : start a server
40+ run : ' php -S 127.0.0.1:8000 -t test/data/app &'
41+ - name : run unit tests
42+ run : ./node_modules/.bin/mocha test/helper/WebDriver_test.js --exit
43+ - name : run tests
44+ run : ' ./bin/codecept.js run -c test/acceptance/codecept.WebDriver.js --grep @WebDriver --debug'
You can’t perform that action at this time.
0 commit comments