File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 branches : [ master ]
88
99jobs :
10- build :
11-
12- runs-on : ubuntu-latest
13-
10+ run :
11+ runs-on : ${{ matrix.operating-system }}
12+ strategy :
13+ matrix :
14+ operating-system : ['ubuntu-latest', 'windows-latest', 'macos-latest']
15+ php-versions : ['7.3', '7.4', '8.0']
16+ phpunit-versions : ['latest']
17+ include :
18+ - operating-system : ' ubuntu-latest'
19+ php-versions : ' 7.4'
20+ phpunit-versions : ' 9.0.0'
1421 steps :
15- - uses : actions/checkout@v2
22+ - name : Checkout
23+ uses : actions/checkout@v2
1624
17- - name : Validate composer.json and composer.lock
18- run : composer validate
19-
20- - name : Cache Composer packages
21- id : composer-cache
22- uses : actions/cache@v2
25+ - name : Setup PHP
26+ uses : shivammathur/setup-php@v2
2327 with :
24- path : vendor
25- key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
26- restore-keys : |
27- ${{ runner.os }}-php-
28-
29- - name : Install dependencies
30- if : steps.composer-cache.outputs.cache-hit != 'true'
31- run : composer update --prefer-dist --no-progress
32-
33- - name : Run tests
34- run : composer test
28+ php-version : ${{ matrix.php-versions }}
29+ extensions : mbstring, intl
30+ ini-values : post_max_size=256M, max_execution_time=180
31+ coverage : none
32+ tools : php-cs-fixer, phpunit:${{ matrix.phpunit-versions }}
You can’t perform that action at this time.
0 commit comments