File tree Expand file tree Collapse file tree 3 files changed +41
-25
lines changed Expand file tree Collapse file tree 3 files changed +41
-25
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : push
4+
5+ jobs :
6+ all :
7+ runs-on : ${{ matrix.operating-system }}
8+ strategy :
9+ matrix :
10+ operating-system :
11+ - ubuntu-latest
12+ # - windows-latest # Disabled - apparently checkouts have \r\n which breaks phpcs
13+ - macos-latest
14+ php-versions :
15+ - ' 7.1'
16+ - ' 7.2'
17+ - ' 7.3'
18+ - ' 7.4'
19+ name : PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v2
23+
24+ - name : Setup PHP
25+ uses : shivammathur/setup-php@v2
26+ with :
27+ php-version : ${{ matrix.php-versions }}
28+ extensions : mbstring, intl
29+ ini-values : post_max_size=256M, short_open_tag=On
30+ coverage : xdebug
31+ tools : php-cs-fixer, phpunit:7
32+
33+ - name : Composer Install
34+ run : composer install --no-progress
35+
36+ - name : Code style checks
37+ run : ./vendor/bin/phpcs .
38+
39+ - name : Unit tests
40+ run : ./vendor/bin/phpunit
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55 </rule >
66
77 <arg name =" ignore" value =" vendor/" />
8+ <arg name =" ignore" value =" build/" />
89</ruleset >
910
1011
You can’t perform that action at this time.
0 commit comments