Skip to content

Commit 49aba9d

Browse files
committedJan 31, 2025··
update workflows
1 parent 5a7e289 commit 49aba9d

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed
 

‎.github/workflows/sonarcloud.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ${{ matrix.os }}
66
strategy:
77
matrix:
8-
os: [ubuntu-latest]
8+
os: [ubuntu-24.04]
99
php: ["8.4"]
1010
env:
1111
tools: composer

‎.github/workflows/test.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,19 @@ jobs:
55
runs-on: ${{ matrix.os }}
66
strategy:
77
matrix:
8-
os: [ubuntu-latest]
8+
os: [ubuntu-24.04]
99
php: ["8.1", "8.2", "8.3", "8.4"]
10+
include:
11+
- php: "8.1"
12+
infection: "0.29.9"
13+
- php: "8.2"
14+
infection: "latest"
15+
- php: "8.3"
16+
infection: "latest"
17+
- php: "8.4"
18+
infection: "latest"
1019
env:
11-
tools: composer, phpstan, infection
20+
tools: composer, phpstan, infection:${{ matrix.infection }}
1221
ini-values: default_charset='UTF-8'
1322
name: PHP ${{ matrix.php }} test on ${{ matrix.os }}
1423
steps:

‎infection.json.dist

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/infection/infection/0.27.0/resources/schema.json",
2+
"$schema": "https://raw.githubusercontent.com/infection/infection/0.28.1/resources/schema.json",
33
"source": {
44
"directories": [
55
"src/"
@@ -13,6 +13,5 @@
1313
},
1414
"mutators": {
1515
"@default": true
16-
},
17-
"testFrameworkOptions": "--configuration=phpunit-coverage.xml"
16+
}
1817
}

0 commit comments

Comments
 (0)
Please sign in to comment.