File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ develop ]
6+ pull_request :
7+ branches : [ develop ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ php-version :
16+ - " 7.3"
17+ - " 7.4"
18+ - " 8.0"
19+ dependencies :
20+ - " lowest"
21+ - " highest"
22+
23+ name : Tests with PHP ${{ matrix.php-version }} and ${{ matrix.dependencies }} dependencies
24+
25+ steps :
26+ - uses : actions/checkout@v2
27+
28+ - name : Setup PHP
29+ uses : shivammathur/setup-php@v2
30+ with :
31+ php-version : ${{ matrix.php-version }}
32+ env :
33+ COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+
35+ - name : Validate composer
36+ run : composer validate
37+
38+ - name : Composer install
39+ uses : " ramsey/composer-install@v1"
40+ with :
41+ dependency-versions : " ${{ matrix.dependencies }}"
42+ composer-options : " ${{ matrix.composer-options }}"
43+
44+ - name : Run unit tests suite
45+ run : vendor/bin/phpunit
You can’t perform that action at this time.
0 commit comments