Skip to content

Commit bc0eec7

Browse files
chore: show parameters in name of CI jobs
1 parent 93e73f7 commit bc0eec7

File tree

1 file changed

+47
-9
lines changed

1 file changed

+47
-9
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 47 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Continuous Integration"
1+
name: "CI: PHPUnit"
22

33
on:
44
pull_request:
@@ -28,7 +28,14 @@ on:
2828

2929
jobs:
3030
phpunit-smoke-check:
31-
name: "PHPUnit with SQLite"
31+
name: >
32+
SQLite -
33+
${{ format('PHP {0} - OS {1} - ext. {2} - deps {3}',
34+
matrix.php-version || 'Ø',
35+
matrix.os || 'Ø',
36+
matrix.extension || 'Ø',
37+
matrix.dependency-versions || 'Ø'
38+
) }}
3239
uses: ./.github/workflows/phpunit-sqlite.yml
3340
with:
3441
os: ${{ matrix.os }}
@@ -59,7 +66,12 @@ jobs:
5966
extension: "sqlite3"
6067

6168
phpunit-oracle:
62-
name: "PHPUnit with Oracle"
69+
name: >
70+
${{ format('Oracle {0} - PHP {1} - ext. {2}',
71+
matrix.oracle-version || 'Ø',
72+
matrix.php-version || 'Ø',
73+
matrix.extension || 'Ø'
74+
) }}
6375
needs: "phpunit-smoke-check"
6476
uses: ./.github/workflows/phpunit-oracle.yml
6577
with:
@@ -91,7 +103,12 @@ jobs:
91103
extension: oci8
92104

93105
phpunit-postgres:
94-
name: "PHPUnit with PostgreSQL"
106+
name: >
107+
${{ format('PostgreSQL {0} - PHP {1} - ext. {2}',
108+
matrix.postgres-version || 'Ø',
109+
matrix.php-version || 'Ø',
110+
matrix.extension || 'Ø'
111+
) }}
95112
needs: "phpunit-smoke-check"
96113
uses: ./.github/workflows/phpunit-postgres.yml
97114
with:
@@ -119,7 +136,12 @@ jobs:
119136
extension: "pdo_pgsql"
120137

121138
phpunit-mariadb:
122-
name: "PHPUnit with MariaDB"
139+
name: >
140+
${{ format('MariaDB {0} - PHP {1} - ext. {2}',
141+
matrix.mariadb-version || 'Ø',
142+
matrix.php-version || 'Ø',
143+
matrix.extension || 'Ø'
144+
) }}
123145
needs: "phpunit-smoke-check"
124146
uses: ./.github/workflows/phpunit-mariadb.yml
125147
with:
@@ -153,7 +175,13 @@ jobs:
153175
extension: "pdo_mysql"
154176

155177
phpunit-mysql:
156-
name: "PHPUnit with MySQL"
178+
name: >
179+
${{ format('MySQL {0} - PHP {1} - ext. {2} - suffix {3}',
180+
matrix.mysql-version || 'Ø',
181+
matrix.php-version || 'Ø',
182+
matrix.extension || 'Ø',
183+
matrix.config-file-suffix || 'Ø'
184+
) }}
157185
needs: "phpunit-smoke-check"
158186
uses: ./.github/workflows/phpunit-mysql.yml
159187
with:
@@ -187,7 +215,13 @@ jobs:
187215
extension: "pdo_mysql"
188216

189217
phpunit-mssql:
190-
name: "PHPUnit with SQL Server"
218+
name: >
219+
SQL Server -
220+
${{ format('PHP {0} - ext. {1} - collation. {2}',
221+
matrix.php-version || 'Ø',
222+
matrix.extension || 'Ø',
223+
matrix.collation || 'Ø'
224+
) }}
191225
needs: "phpunit-smoke-check"
192226
uses: ./.github/workflows/phpunit-sqlserver.yml
193227
with:
@@ -214,7 +248,9 @@ jobs:
214248
extension: "pdo_sqlsrv"
215249

216250
phpunit-db2:
217-
name: "PHPUnit with Db2"
251+
name: >
252+
PHPUnit with Db2 -
253+
${{ matrix.php-version || 'Ø' }}
218254
needs: "phpunit-smoke-check"
219255
uses: ./.github/workflows/phpunit-db2.yml
220256
with:
@@ -228,7 +264,9 @@ jobs:
228264
- "8.4"
229265

230266
development-deps:
231-
name: "PHPUnit with PDO_SQLite and development dependencies"
267+
name: >
268+
PHPUnit with PDO_SQLite and development dependencies -
269+
${{ matrix.php-version || 'Ø' }}
232270
runs-on: "ubuntu-24.04"
233271

234272
strategy:

0 commit comments

Comments
 (0)