File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on : [push, pull_request]
3
+ jobs :
4
+ run :
5
+ runs-on : ${{ matrix.operating-system }}
6
+ strategy :
7
+ matrix :
8
+ operating-system : [ubuntu-latest, windows-latest, macos-latest]
9
+ php-versions : ['7.3', '7.4']
10
+ name : PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
11
+ steps :
12
+ - name : Checkout
13
+ uses : actions/checkout@v2
14
+
15
+ - name : Setup PHP
16
+ uses : shivammathur/setup-php@v1
17
+ with :
18
+ php-version : ${{ matrix.php-versions }}
19
+ coverage : xdebug
20
+
21
+ - name : Composer dependencies
22
+ run : composer install --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
23
+
24
+ - name : Run phpunit
25
+ run : ./vendor/bin/phpunit
26
+
27
+ - name : Run phpcs
28
+ run : ./vendor/bin/phpcs
You can’t perform that action at this time.
0 commit comments