File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed
Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ [{* .yaml,* .yml} ]
2+ indent_size = 2
Original file line number Diff line number Diff line change 1+ name : Plugin CI
2+ on :
3+ push :
4+ branches : [ 'master' ]
5+ pull_request :
6+
7+ env :
8+ PHP_CS_FIXER_IGNORE_ENV : 1
9+ XDEBUG_MODE : coverage
10+
11+ jobs :
12+ tests :
13+ name : " Tests ${{ matrix.php-version }} deps ${{ matrix.dependency-versions }}"
14+ runs-on : ubuntu-22.04
15+
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ # normal, highest, non-dev installs
20+ php-version : [ '8.2' ]
21+ dependency-versions : [ 'highest' ]
22+ include :
23+ # testing lowest PHP version with the lowest dependencies
24+ # - php-version: '8.2'
25+ # dependency-versions: 'lowest'
26+
27+ # testing dev versions with the highest PHP
28+ - php-version : ' 8.2'
29+ dependency-versions : ' highest'
30+
31+ steps :
32+ - name : " Checkout code"
33+ uses : " actions/checkout@v2"
34+
35+ - name : " Install PHP"
36+ uses : " shivammathur/setup-php@v2"
37+ with :
38+ coverage : " none"
39+ php-version : " ${{ matrix.php-version }}"
40+
41+ - name : " Composer install"
42+ uses : " ramsey/composer-install@v2"
43+ with :
44+ dependency-versions : " ${{ matrix.dependency-versions }}"
45+ composer-options : " --prefer-dist --no-progress"
46+
47+ - name : Run tests
48+ run : composer run test
You can’t perform that action at this time.
0 commit comments