Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 45 additions & 9 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Continuous Integration"
name: "CI: PHPUnit"

on:
pull_request:
Expand Down Expand Up @@ -28,7 +28,13 @@ on:

jobs:
phpunit-smoke-check:
name: "PHPUnit with SQLite"
name: >
${{ format('SQLite - PHP {0} - OS {1} - ext. {2} - deps {3}',
matrix.php-version || 'Ø',
matrix.os || 'Ø',
matrix.extension || 'Ø',
matrix.dependency-versions || 'Ø'
) }}
uses: ./.github/workflows/phpunit-sqlite.yml
with:
os: ${{ matrix.os }}
Expand Down Expand Up @@ -59,7 +65,12 @@ jobs:
extension: "sqlite3"

phpunit-oracle:
name: "PHPUnit with Oracle"
name: >
${{ format('Oracle {0} - PHP {1} - ext. {2}',
matrix.oracle-version || 'Ø',
matrix.php-version || 'Ø',
matrix.extension || 'Ø'
) }}
needs: "phpunit-smoke-check"
uses: ./.github/workflows/phpunit-oracle.yml
with:
Expand Down Expand Up @@ -91,7 +102,12 @@ jobs:
extension: oci8

phpunit-postgres:
name: "PHPUnit with PostgreSQL"
name: >
${{ format('PostgreSQL {0} - PHP {1} - ext. {2}',
matrix.postgres-version || 'Ø',
matrix.php-version || 'Ø',
matrix.extension || 'Ø'
) }}
needs: "phpunit-smoke-check"
uses: ./.github/workflows/phpunit-postgres.yml
with:
Expand Down Expand Up @@ -119,7 +135,12 @@ jobs:
extension: "pdo_pgsql"

phpunit-mariadb:
name: "PHPUnit with MariaDB"
name: >
${{ format('MariaDB {0} - PHP {1} - ext. {2}',
matrix.mariadb-version || 'Ø',
matrix.php-version || 'Ø',
matrix.extension || 'Ø'
) }}
needs: "phpunit-smoke-check"
uses: ./.github/workflows/phpunit-mariadb.yml
with:
Expand Down Expand Up @@ -153,7 +174,13 @@ jobs:
extension: "pdo_mysql"

phpunit-mysql:
name: "PHPUnit with MySQL"
name: >
${{ format('MySQL {0} - PHP {1} - ext. {2} - suffix {3}',
matrix.mysql-version || 'Ø',
matrix.php-version || 'Ø',
matrix.extension || 'Ø',
matrix.config-file-suffix || 'Ø'
) }}
needs: "phpunit-smoke-check"
uses: ./.github/workflows/phpunit-mysql.yml
with:
Expand Down Expand Up @@ -187,7 +214,12 @@ jobs:
extension: "pdo_mysql"

phpunit-mssql:
name: "PHPUnit with SQL Server"
name: >
${{ format('SQL Server - PHP {0} - ext. {1} - collation. {2}',
matrix.php-version || 'Ø',
matrix.extension || 'Ø',
matrix.collation || 'Ø'
) }}
needs: "phpunit-smoke-check"
uses: ./.github/workflows/phpunit-sqlserver.yml
with:
Expand All @@ -214,7 +246,9 @@ jobs:
extension: "pdo_sqlsrv"

phpunit-db2:
name: "PHPUnit with Db2"
name: >
Db2 -
${{ matrix.php-version || 'Ø' }}
needs: "phpunit-smoke-check"
uses: ./.github/workflows/phpunit-db2.yml
with:
Expand All @@ -228,7 +262,9 @@ jobs:
- "8.4"

development-deps:
name: "PHPUnit with PDO_SQLite and development dependencies"
name: >
PDO_SQLite and development dependencies -
${{ matrix.php-version || 'Ø' }}
runs-on: "ubuntu-24.04"

strategy:
Expand Down
52 changes: 44 additions & 8 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
name: "Continuous Integration (Nightly)"
name: "CI (Nightly): PHPUnit"

on:
schedule:
- cron: "12 3 * * *"

jobs:
phpunit-mariadb-devel:
name: "PHPUnit with MariaDB"
name: >
${{ format('MariaDB {0} - PHP {1} - ext. {2}',
matrix.mariadb-version || 'Ø',
matrix.php-version || 'Ø',
matrix.extension || 'Ø'
) }}
runs-on: "ubuntu-24.04"

strategy:
Expand Down Expand Up @@ -72,7 +77,13 @@ jobs:
content: "There was an error running Doctrine on MariaDB:${{ matrix.mariadb-version }} - URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}."

phpunit-sqlite:
name: PHPUnit with SQLite
name: >
${{ format('SQLite - PHP {0} - OS {1} - ext. {2} - deps {3}',
matrix.php-version || 'Ø',
matrix.os || 'Ø',
matrix.extension || 'Ø',
matrix.dependency-versions || 'Ø'
) }}
uses: ./.github/workflows/phpunit-sqlite.yml
with:
os: ${{ matrix.os }}
Expand All @@ -94,7 +105,12 @@ jobs:
- highest

phpunit-mariadb:
name: PHPUnit with MariaDB
name: >
${{ format('MariaDB {0} - PHP {1} - ext. {2}',
matrix.mariadb-version || 'Ø',
matrix.php-version || 'Ø',
matrix.extension || 'Ø'
) }}
uses: ./.github/workflows/phpunit-mariadb.yml
with:
php-version: ${{ matrix.php-version }}
Expand All @@ -113,7 +129,12 @@ jobs:
- pdo_mysql

phpunit-mysql:
name: PHPUnit with MySQL
name: >
${{ format('MySQL {0} - PHP {1} - ext. {2}',
matrix.mysql-version || 'Ø',
matrix.php-version || 'Ø',
matrix.extension || 'Ø'
) }}
uses: ./.github/workflows/phpunit-mysql.yml
with:
php-version: ${{ matrix.php-version }}
Expand All @@ -132,7 +153,12 @@ jobs:
- pdo_mysql

phpunit-sqlserver:
name: PHPUnit with SQL Server
name: >
${{ format('SQL Server - PHP {0} - ext. {1} - collation. {2}',
matrix.php-version || 'Ø',
matrix.extension || 'Ø',
matrix.collation || 'Ø'
) }}
uses: ./.github/workflows/phpunit-sqlserver.yml
with:
php-version: ${{ matrix.php-version }}
Expand All @@ -151,7 +177,12 @@ jobs:
- Latin1_General_100_CI_AS_SC_UTF8

phpunit-oracle:
name: PHPUnit with Oracle
name: >
${{ format('Oracle {0} - PHP {1} - ext. {2}',
matrix.oracle-version || 'Ø',
matrix.php-version || 'Ø',
matrix.extension || 'Ø'
) }}
uses: ./.github/workflows/phpunit-oracle.yml
with:
php-version: ${{ matrix.php-version }}
Expand All @@ -170,7 +201,12 @@ jobs:
- pdo_oci

phpunit-postgres:
name: PHPUnit with PostgreSQL
name: >
${{ format('PostgreSQL {0} - PHP {1} - ext. {2}',
matrix.postgres-version || 'Ø',
matrix.php-version || 'Ø',
matrix.extension || 'Ø'
) }}
uses: ./.github/workflows/phpunit-postgres.yml
with:
php-version: ${{ matrix.php-version }}
Expand Down