Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/workflows/ci.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Continuous Integration"

on:
push:
pull_request:

jobs:
qa:
uses: php-db/phpdb-qa-tools/.github/workflows/continuous-integration.yml@0.1.x
secrets: inherit
with:
php-versions: '["8.3", "8.4", "8.5"]'
run-integration: false
coverage-php-version: "8.4"
enable-codecov: true
enable-infection: true
min-msi: "80"
min-covered-msi: "80"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@
/phpunit.xml
/vendor/
/.vscode
/infection.json5
/infection.log
/summary.log
20 changes: 20 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
coverage:
status:
project:
default:
target: auto
threshold: 0%
base: auto
patch:
default:
target: auto
threshold: 0%
base: auto

comment:
layout: "diff, flags, files"
behavior: default
require_changes: false
require_base: false
require_head: true
hide_project_coverage: false
9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"config": {
"sort-packages": true,
"platform": {
"php": "8.2.99"
"php": "8.3.99"
},
"allow-plugins": {
"infection/extension-installer": true
}
},
"extra": {
Expand All @@ -26,11 +29,12 @@
}
},
"require": {
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
"php": "~8.3.0 || ~8.4.0 || ~8.5.0",
"laminas/laminas-servicemanager": "^3.0.0 || ^4.0.0",
"laminas/laminas-stdlib": "^3.20.0"
},
"require-dev": {
"infection/infection": "^0.34.1",
"laminas/laminas-eventmanager": "^3.14.0",
"laminas/laminas-hydrator": "^4.6.0",
"php-db/phpdb-qa-tools": "0.1.x-dev",
Expand Down Expand Up @@ -70,6 +74,7 @@
"mago lint --fix"
],
"static-analysis": "mago analyze",
"mutation-test": "infection",
"test": "phpunit --colors=always --testsuite \"unit test\"",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
"test-integration": "phpunit --colors=always --testsuite \"integration test\"",
Expand Down
Loading
Loading