From 94aab342569ec171c350afc18ae04668135039db Mon Sep 17 00:00:00 2001 From: Aleksei Zarubin <12220926+alexzarbn@users.noreply.github.com> Date: Sat, 30 Mar 2024 16:05:04 +0500 Subject: [PATCH] chore(ci): enable tests for php 8.3 and laravel 11 --- .github/workflows/ci.yml | 103 ++++++++++++++++++++++++++++++++++++++- composer.json | 2 +- 2 files changed, 102 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aeb3a7e5..1a653106 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,8 @@ jobs: strategy: fail-fast: false matrix: - php-version: [ '7.3', '7.4', '8.0', '8.1', '8.2' ] - laravel-version: [ '5.7.*', '5.8.*', '^6.0', '^7.0', '^8.0', '^9.0' ] + php-version: [ '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ] + laravel-version: [ '5.7.*', '5.8.*', '^6.0', '^7.0', '^8.0', '^9.0', '^10.0', '^11.0' ] database: [ 'sqlite', 'mysql', 'pgsql' ] exclude: - php-version: '7.3' @@ -27,6 +27,24 @@ jobs: - php-version: '7.3' laravel-version: '^9.0' database: 'pgsql' + - php-version: '7.3' + laravel-version: '^10.0' + database: 'sqlite' + - php-version: '7.3' + laravel-version: '^10.0' + database: 'mysql' + - php-version: '7.3' + laravel-version: '^10.0' + database: 'pgsql' + - php-version: '7.3' + laravel-version: '^11.0' + database: 'sqlite' + - php-version: '7.3' + laravel-version: '^11.0' + database: 'mysql' + - php-version: '7.3' + laravel-version: '^11.0' + database: 'pgsql' - php-version: '7.4' laravel-version: '5.7.*' database: 'sqlite' @@ -45,6 +63,24 @@ jobs: - php-version: '7.4' laravel-version: '^9.0' database: 'pgsql' + - php-version: '7.4' + laravel-version: '^10.0' + database: 'sqlite' + - php-version: '7.4' + laravel-version: '^10.0' + database: 'mysql' + - php-version: '7.4' + laravel-version: '^10.0' + database: 'pgsql' + - php-version: '7.4' + laravel-version: '^11.0' + database: 'sqlite' + - php-version: '7.4' + laravel-version: '^11.0' + database: 'mysql' + - php-version: '7.4' + laravel-version: '^11.0' + database: 'pgsql' - php-version: '8.0' laravel-version: '5.7.*' database: 'sqlite' @@ -63,6 +99,24 @@ jobs: - php-version: '8.0' laravel-version: '5.8.*' database: 'pgsql' + - php-version: '8.0' + laravel-version: '^10.0' + database: 'sqlite' + - php-version: '8.0' + laravel-version: '^10.0' + database: 'mysql' + - php-version: '8.0' + laravel-version: '^10.0' + database: 'pgsql' + - php-version: '8.0' + laravel-version: '^11.0' + database: 'sqlite' + - php-version: '8.0' + laravel-version: '^11.0' + database: 'mysql' + - php-version: '8.0' + laravel-version: '^11.0' + database: 'pgsql' - php-version: '8.1' laravel-version: '5.7.*' database: 'sqlite' @@ -99,6 +153,15 @@ jobs: - php-version: '8.1' laravel-version: '^7.0' database: 'pgsql' + - php-version: '8.1' + laravel-version: '^11.0' + database: 'sqlite' + - php-version: '8.1' + laravel-version: '^11.0' + database: 'mysql' + - php-version: '8.1' + laravel-version: '^11.0' + database: 'pgsql' - php-version: '8.2' laravel-version: '5.7.*' database: 'sqlite' @@ -135,6 +198,42 @@ jobs: - php-version: '8.2' laravel-version: '^7.0' database: 'pgsql' + - php-version: '8.3' + laravel-version: '5.7.*' + database: 'sqlite' + - php-version: '8.3' + laravel-version: '5.7.*' + database: 'mysql' + - php-version: '8.3' + laravel-version: '5.7.*' + database: 'pgsql' + - php-version: '8.3' + laravel-version: '5.8.*' + database: 'sqlite' + - php-version: '8.3' + laravel-version: '5.8.*' + database: 'mysql' + - php-version: '8.3' + laravel-version: '5.8.*' + database: 'pgsql' + - php-version: '8.3' + laravel-version: '^6.0' + database: 'sqlite' + - php-version: '8.3' + laravel-version: '^6.0' + database: 'mysql' + - php-version: '8.3' + laravel-version: '^6.0' + database: 'pgsql' + - php-version: '8.3' + laravel-version: '^7.0' + database: 'sqlite' + - php-version: '8.3' + laravel-version: '^7.0' + database: 'mysql' + - php-version: '8.3' + laravel-version: '^7.0' + database: 'pgsql' name: Tests on PHP ${{ matrix.php-version }} with Laravel ${{ matrix.laravel-version }} and ${{ matrix.database }} diff --git a/composer.json b/composer.json index e8dbc7bb..ef76ede0 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^3.7|^4.0|^5.0|^6.0|^7.0", + "orchestra/testbench": "^3.7|^4.0|^5.0|^6.0|^7.0|^8.0|^9.0", "phpunit/phpunit": "^6.0|^7.0|^8.0|^9.0" }, "autoload": {