Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Jan 31, 2025
1 parent 5a7e289 commit 49aba9d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-24.04]
php: ["8.4"]
env:
tools: composer
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,19 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-24.04]
php: ["8.1", "8.2", "8.3", "8.4"]
include:
- php: "8.1"
infection: "0.29.9"
- php: "8.2"
infection: "latest"
- php: "8.3"
infection: "latest"
- php: "8.4"
infection: "latest"
env:
tools: composer, phpstan, infection
tools: composer, phpstan, infection:${{ matrix.infection }}
ini-values: default_charset='UTF-8'
name: PHP ${{ matrix.php }} test on ${{ matrix.os }}
steps:
Expand Down
5 changes: 2 additions & 3 deletions infection.json.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/infection/infection/0.27.0/resources/schema.json",
"$schema": "https://raw.githubusercontent.com/infection/infection/0.28.1/resources/schema.json",
"source": {
"directories": [
"src/"
Expand All @@ -13,6 +13,5 @@
},
"mutators": {
"@default": true
},
"testFrameworkOptions": "--configuration=phpunit-coverage.xml"
}
}

0 comments on commit 49aba9d

Please sign in to comment.