1414 strategy :
1515 matrix :
1616 php-version :
17- - " 8.0 "
17+ - " 8.2 "
1818
1919 steps :
2020 - name : " Checkout"
5050 strategy :
5151 matrix :
5252 php-version :
53- - " 8.0 "
53+ - " 8.2 "
5454
5555 steps :
5656 - name : " Checkout"
@@ -76,66 +76,14 @@ jobs:
7676 - name : " Run require-checker"
7777 run : " composer require-checker"
7878
79- phpunit-mysql57 :
80- name : " PHPUnit on MySQL 5.7 and PhpStan"
81- runs-on : " ubuntu-latest"
82-
83- strategy :
84- matrix :
85- php-version :
86- - " 8.0"
87-
88- services :
89- mysql :
90- image : " mysql:5.7"
91- env :
92- MYSQL_ALLOW_EMPTY_PASSWORD : true
93- MYSQL_ROOT_PASSWORD :
94- ports :
95- - " 3306:3306"
96-
97- steps :
98- - name : " Checkout"
99- uses : " actions/checkout@v4"
100- with :
101- fetch-depth : 2
102-
103- - name : " Install PHP"
104- uses : " shivammathur/setup-php@v2"
105- with :
106- php-version : " ${{ matrix.php-version }}"
107- extensions : " "
108- coverage : " pcov"
109- tools : " cs2pr"
110-
111- - name : " Cache dependencies installed with composer"
112- uses : " actions/cache@v4"
113- with :
114- path : " ~/.composer/cache"
115- key : " php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
116- restore-keys : " php-${{ matrix.php-version }}-composer-locked-"
117-
118- - name : " Install dependencies with composer"
119- run : " composer install --no-interaction --no-progress"
120-
121- - name : " Run PHPUnit"
122- run : " vendor/bin/phpunit -c phpunit.mysql8.xml --coverage-clover=coverage.xml"
123-
124- - name : " Upload Code Coverage"
125- uses : " codecov/codecov-action@v5"
126-
127- # PHPStan is run after PHPUnit because we want to analyze the generated files too.
128- - name : " Run a static analysis with phpstan/phpstan"
129- run : " composer phpstan -- --error-format=checkstyle | cs2pr"
130-
13179 phpunit-mysql8 :
13280 name : " PHPUnit on MySQL 8"
13381 runs-on : " ubuntu-latest"
13482
13583 strategy :
13684 matrix :
13785 php-version :
138- - " 8.0 "
86+ - " 8.2 "
13987
14088 services :
14189 mysql :
@@ -182,7 +130,7 @@ jobs:
182130 strategy :
183131 matrix :
184132 php-version :
185- - " 8.0 "
133+ - " 8.2 "
186134
187135 services :
188136 mysql :
@@ -229,7 +177,7 @@ jobs:
229177 strategy :
230178 matrix :
231179 php-version :
232- - " 8.0 "
180+ - " 8.2 "
233181
234182 services :
235183 mysql :
@@ -275,7 +223,7 @@ jobs:
275223 strategy :
276224 matrix :
277225 php-version :
278- - " 8.0 "
226+ - " 8.2 "
279227
280228 services :
281229 postgres :
@@ -326,7 +274,7 @@ jobs:
326274 strategy :
327275 matrix :
328276 php-version :
329- - " 8.0 "
277+ - " 8.2 "
330278
331279 services :
332280 mysql :
@@ -385,7 +333,7 @@ jobs:
385333 strategy :
386334 matrix :
387335 php-version :
388- - " 8.0 "
336+ - " 8.2 "
389337
390338 services :
391339 oracle :
0 commit comments