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