File tree Expand file tree Collapse file tree 1 file changed +18
-13
lines changed
Expand file tree Collapse file tree 1 file changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -13,33 +13,38 @@ jobs:
1313 strategy :
1414 fail-fast : false
1515 matrix :
16- php-versions : ['7.2', '7.3', '7.4']
17- name : Tests with PHP ${{ matrix.php-versions }}
16+ php-version :
17+ - " 7.2"
18+ - " 7.3"
19+ - " 7.4"
20+ dependencies :
21+ - " lowest"
22+ - " highest"
23+ include :
24+ - php-version : " 8.0"
25+ dependencies : " highest"
26+ composer-options : " --ignore-platform-reqs"
27+ experimental : true
28+ name : Tests with PHP ${{ matrix.php-version }} and ${{ matrix.dependencies }} dependencies
1829
1930 steps :
2031 - uses : actions/checkout@v2
2132
2233 - name : Setup PHP
2334 uses : shivammathur/setup-php@v2
2435 with :
25- php-version : ${{ matrix.php-versions }}
36+ php-version : ${{ matrix.php-version }}
2637 env :
2738 COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2839
2940 - name : Validate composer
3041 run : composer validate
3142
32- - name : Cache Composer packages
33- id : composer-cache
34- uses : actions/cache@v2
43+ - name : Composer install
44+ uses : " ramsey/composer-install@v1"
3545 with :
36- path : vendor
37- key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
38- restore-keys : |
39- ${{ runner.os }}-composer-
40- - name : Install dependencies
41- if : steps.composer-cache.outputs.cache-hit != 'true'
42- run : composer install --prefer-dist --no-interaction
46+ dependency-versions : " ${{ matrix.dependencies }}"
47+ composer-options : " ${{ matrix.composer-options }}"
4348
4449 - name : Run unit tests suite
4550 run : vendor/bin/phpunit
You can’t perform that action at this time.
0 commit comments