Skip to content

Commit 88767f3

Browse files
committed
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.
1 parent 5018752 commit 88767f3

2 files changed

Lines changed: 53 additions & 53 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
strategy:
1010
fail-fast: true
1111
matrix:
12-
os: [ubuntu-latest]
13-
php: [8.4, 8.5]
14-
laravel: [12.x]
15-
statamic: [^6.0]
12+
os: [ ubuntu-latest ]
13+
php: [ 8.4, 8.5 ]
14+
laravel: [ 12.x,13.x ]
15+
statamic: [ ^6.0 ]
1616

1717
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Statamic ${{ matrix.statamic }} - ${{ matrix.os }}
1818

composer.json

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
11
{
2-
"name": "byte5/ai-entry-embeddings",
3-
"description": "Statamic addon for generating AI vector embeddings from entry content.",
4-
"license": "GPL-3.0-or-later",
5-
"type": "statamic-addon",
6-
"autoload": {
7-
"psr-4": {
8-
"Byte5\\AiEntryEmbeddings\\": "src"
9-
}
2+
"name": "byte5/ai-entry-embeddings",
3+
"description": "Statamic addon for generating AI vector embeddings from entry content.",
4+
"license": "GPL-3.0-or-later",
5+
"type": "statamic-addon",
6+
"autoload": {
7+
"psr-4": {
8+
"Byte5\\AiEntryEmbeddings\\": "src"
9+
}
10+
},
11+
"autoload-dev": {
12+
"psr-4": {
13+
"Byte5\\AiEntryEmbeddings\\Tests\\": "tests"
14+
}
15+
},
16+
"authors": [
17+
{
18+
"name": "byte5 GmbH",
19+
"email": "info@byte5.de"
20+
}
21+
],
22+
"require": {
23+
"php": "^8.3",
24+
"statamic/cms": "^6.0",
25+
"laravel/ai": "^0.3.0"
26+
},
27+
"require-dev": {
28+
"orchestra/testbench": "^10.0 || ^11.0",
29+
"driftingly/rector-laravel": "^2.2",
30+
"rector/rector": "^2.3",
31+
"larastan/larastan": "^3.9",
32+
"laravel/pint": "^1.29"
33+
},
34+
"config": {
35+
"allow-plugins": {
36+
"pixelfear/composer-dist-plugin": true
37+
}
38+
},
39+
"extra": {
40+
"statamic": {
41+
"name": "AI Entry Embeddings",
42+
"description": "Entry vector embedding generation"
1043
},
11-
"autoload-dev": {
12-
"psr-4": {
13-
"Byte5\\AiEntryEmbeddings\\Tests\\": "tests"
14-
}
15-
},
16-
"authors": [
17-
{
18-
"name": "byte5 GmbH",
19-
"email": "info@byte5.de"
20-
}
21-
],
22-
"require": {
23-
"php": "^8.3",
24-
"statamic/cms": "^6.0",
25-
"laravel/ai": "^0.3.0"
26-
},
27-
"require-dev": {
28-
"orchestra/testbench": "^10.8",
29-
"driftingly/rector-laravel": "^2.2",
30-
"rector/rector": "^2.3",
31-
"larastan/larastan": "^3.9",
32-
"laravel/pint": "^1.29"
33-
},
34-
"config": {
35-
"allow-plugins": {
36-
"pixelfear/composer-dist-plugin": true
37-
}
38-
},
39-
"extra": {
40-
"statamic": {
41-
"name": "AI Entry Embeddings",
42-
"description": "Entry vector embedding generation"
43-
},
44-
"laravel": {
45-
"providers": [
46-
"Byte5\\AiEntryEmbeddings\\ServiceProvider"
47-
]
48-
}
49-
},
50-
"minimum-stability": "stable",
51-
"prefer-stable": true
44+
"laravel": {
45+
"providers": [
46+
"Byte5\\AiEntryEmbeddings\\ServiceProvider"
47+
]
48+
}
49+
},
50+
"minimum-stability": "stable",
51+
"prefer-stable": true
5252
}

0 commit comments

Comments
 (0)