File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+ branches :
8+ - master
9+
10+ jobs :
11+ build :
12+ name : Build
13+ runs-on : ubuntu-latest
14+ services :
15+ redis :
16+ image : redis
17+ ports :
18+ - 6379:6379
19+ strategy :
20+ matrix :
21+ php-versions : ['7.3', '8.0']
22+ steps :
23+ - name : Checkout code
24+ uses : actions/checkout@v2
25+
26+ - name : Setup PHP
27+ uses : shivammathur/setup-php@v2
28+ with :
29+ php-version : ${{ matrix.php-versions }}
30+ extensions : mbstring, intl
31+ ini-values : post_max_size=256M, max_execution_time=180
32+ coverage : xdebug
33+
34+ - name : Install dependencies
35+ run : |
36+ composer install --prefer-dist
37+ composer update
38+ composer dumpautoload
39+
40+ - name : script
41+ run : |
42+ vendor/bin/phpcs --ignore=functions.php --standard=PSR2 src/
43+ vendor/bin/phpunit -c phpunit.xml.dist -v --testsuite integration
You can’t perform that action at this time.
0 commit comments