File tree Expand file tree Collapse file tree 1 file changed +19
-13
lines changed Expand file tree Collapse file tree 1 file changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -13,33 +13,39 @@ 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+ experimental :
24+ - false
25+ include :
26+ - php-version : " 8.0"
27+ dependencies : " highest"
28+ composer-options : " --ignore-platform-reqs"
29+ name : Tests with PHP ${{ matrix.php-version }} and ${{ matrix.dependencies }} dependencies
1830
1931 steps :
2032 - uses : actions/checkout@v2
2133
2234 - name : Setup PHP
2335 uses : shivammathur/setup-php@v2
2436 with :
25- php-version : ${{ matrix.php-versions }}
37+ php-version : ${{ matrix.php-version }}
2638 env :
2739 COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2840
2941 - name : Validate composer
3042 run : composer validate
3143
32- - name : Cache Composer packages
33- id : composer-cache
34- uses : actions/cache@v2
44+ - name : Composer install
45+ uses : " ramsey/composer-install@v1"
3546 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
47+ dependency-versions : " ${{ matrix.dependencies }}"
48+ composer-options : " ${{ matrix.composer-options }}"
4349
4450 - name : Run unit tests suite
4551 run : vendor/bin/phpunit
You can’t perform that action at this time.
0 commit comments