From 88767f39b51bf7d36cddebeed8504e9f47d71190 Mon Sep 17 00:00:00 2001 From: Jure Knezovic Date: Thu, 2 Apr 2026 15:19:45 +0200 Subject: [PATCH] ci(tests): Add Laravel 13.x support and update test workflow configuration - Expanded matrix in tests workflow to include Laravel 13.x. - Adjusted spacing in workflow YAML for consistency. - Updated `composer.json` to support orchestra/testbench versions 10.x and 11.x. --- .github/workflows/tests.yml | 8 +-- composer.json | 98 ++++++++++++++++++------------------- 2 files changed, 53 insertions(+), 53 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 96494f4..2b4b3f6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,10 +9,10 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-latest] - php: [8.4, 8.5] - laravel: [12.x] - statamic: [^6.0] + os: [ ubuntu-latest ] + php: [ 8.4, 8.5 ] + laravel: [ 12.x,13.x ] + statamic: [ ^6.0 ] name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Statamic ${{ matrix.statamic }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index fd59faa..c3f9f5f 100644 --- a/composer.json +++ b/composer.json @@ -1,52 +1,52 @@ { - "name": "byte5/ai-entry-embeddings", - "description": "Statamic addon for generating AI vector embeddings from entry content.", - "license": "GPL-3.0-or-later", - "type": "statamic-addon", - "autoload": { - "psr-4": { - "Byte5\\AiEntryEmbeddings\\": "src" - } + "name": "byte5/ai-entry-embeddings", + "description": "Statamic addon for generating AI vector embeddings from entry content.", + "license": "GPL-3.0-or-later", + "type": "statamic-addon", + "autoload": { + "psr-4": { + "Byte5\\AiEntryEmbeddings\\": "src" + } + }, + "autoload-dev": { + "psr-4": { + "Byte5\\AiEntryEmbeddings\\Tests\\": "tests" + } + }, + "authors": [ + { + "name": "byte5 GmbH", + "email": "info@byte5.de" + } + ], + "require": { + "php": "^8.3", + "statamic/cms": "^6.0", + "laravel/ai": "^0.3.0" + }, + "require-dev": { + "orchestra/testbench": "^10.0 || ^11.0", + "driftingly/rector-laravel": "^2.2", + "rector/rector": "^2.3", + "larastan/larastan": "^3.9", + "laravel/pint": "^1.29" + }, + "config": { + "allow-plugins": { + "pixelfear/composer-dist-plugin": true + } + }, + "extra": { + "statamic": { + "name": "AI Entry Embeddings", + "description": "Entry vector embedding generation" }, - "autoload-dev": { - "psr-4": { - "Byte5\\AiEntryEmbeddings\\Tests\\": "tests" - } - }, - "authors": [ - { - "name": "byte5 GmbH", - "email": "info@byte5.de" - } - ], - "require": { - "php": "^8.3", - "statamic/cms": "^6.0", - "laravel/ai": "^0.3.0" - }, - "require-dev": { - "orchestra/testbench": "^10.8", - "driftingly/rector-laravel": "^2.2", - "rector/rector": "^2.3", - "larastan/larastan": "^3.9", - "laravel/pint": "^1.29" - }, - "config": { - "allow-plugins": { - "pixelfear/composer-dist-plugin": true - } - }, - "extra": { - "statamic": { - "name": "AI Entry Embeddings", - "description": "Entry vector embedding generation" - }, - "laravel": { - "providers": [ - "Byte5\\AiEntryEmbeddings\\ServiceProvider" - ] - } - }, - "minimum-stability": "stable", - "prefer-stable": true + "laravel": { + "providers": [ + "Byte5\\AiEntryEmbeddings\\ServiceProvider" + ] + } + }, + "minimum-stability": "stable", + "prefer-stable": true }