mirror of
https://github.com/shlinkio/shlink.git
synced 2025-01-22 14:33:16 -06:00
Migrated infection config files to json5
This commit is contained in:
parent
0c6f8f1136
commit
369628ee95
@ -133,9 +133,9 @@
|
|||||||
"test:cli:pretty": "GENERATE_COVERAGE=pretty composer test:cli",
|
"test:cli:pretty": "GENERATE_COVERAGE=pretty composer test:cli",
|
||||||
"infect:ci:base": "infection --threads=max --only-covered --only-covering-test-cases --skip-initial-tests",
|
"infect:ci:base": "infection --threads=max --only-covered --only-covering-test-cases --skip-initial-tests",
|
||||||
"infect:ci:unit": "@infect:ci:base --coverage=build/coverage-unit --min-msi=84",
|
"infect:ci:unit": "@infect:ci:base --coverage=build/coverage-unit --min-msi=84",
|
||||||
"infect:ci:db": "@infect:ci:base --coverage=build/coverage-db --min-msi=95 --configuration=infection-db.json",
|
"infect:ci:db": "@infect:ci:base --coverage=build/coverage-db --min-msi=95 --configuration=infection-db.json5",
|
||||||
"infect:ci:api": "@infect:ci:base --coverage=build/coverage-api --min-msi=80 --configuration=infection-api.json",
|
"infect:ci:api": "@infect:ci:base --coverage=build/coverage-api --min-msi=80 --configuration=infection-api.json5",
|
||||||
"infect:ci:cli": "@infect:ci:base --coverage=build/coverage-cli --min-msi=80 --configuration=infection-cli.json",
|
"infect:ci:cli": "@infect:ci:base --coverage=build/coverage-cli --min-msi=80 --configuration=infection-cli.json5",
|
||||||
"infect:ci": "@parallel infect:ci:unit infect:ci:db infect:ci:api infect:ci:cli",
|
"infect:ci": "@parallel infect:ci:unit infect:ci:db infect:ci:api infect:ci:cli",
|
||||||
"infect:test": [
|
"infect:test": [
|
||||||
"@parallel test:unit:ci test:db:sqlite:ci test:api:ci",
|
"@parallel test:unit:ci test:db:sqlite:ci test:api:ci",
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"source": {
|
|
||||||
"directories": [
|
|
||||||
"module/*/src"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"timeout": 5,
|
|
||||||
"logs": {
|
|
||||||
"text": "build/infection-api/infection-log.txt",
|
|
||||||
"html": "build/infection-api/infection-log.html",
|
|
||||||
"summary": "build/infection-api/summary-log.txt",
|
|
||||||
"debug": "build/infection-api/debug-log.txt"
|
|
||||||
},
|
|
||||||
"tmpDir": "build/infection-api/temp",
|
|
||||||
"phpUnit": {
|
|
||||||
"configDir": "."
|
|
||||||
},
|
|
||||||
"testFrameworkOptions": "--configuration=phpunit-api.xml",
|
|
||||||
"mutators": {
|
|
||||||
"@default": true,
|
|
||||||
"IdenticalEqual": false,
|
|
||||||
"NotIdenticalNotEqual": false
|
|
||||||
}
|
|
||||||
}
|
|
24
infection-api.json5
Normal file
24
infection-api.json5
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
source: {
|
||||||
|
directories: [
|
||||||
|
'module/*/src'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
timeout: 5,
|
||||||
|
logs: {
|
||||||
|
text: 'build/infection-api/infection-log.txt',
|
||||||
|
html: 'build/infection-api/infection-log.html',
|
||||||
|
summary: 'build/infection-api/summary-log.txt',
|
||||||
|
debug: 'build/infection-api/debug-log.txt'
|
||||||
|
},
|
||||||
|
tmpDir: 'build/infection-api/temp',
|
||||||
|
phpUnit: {
|
||||||
|
configDir: '.'
|
||||||
|
},
|
||||||
|
testFrameworkOptions: '--configuration=phpunit-api.xml',
|
||||||
|
mutators: {
|
||||||
|
'@default': true,
|
||||||
|
IdenticalEqual: false,
|
||||||
|
NotIdenticalNotEqual: false
|
||||||
|
}
|
||||||
|
}
|
@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"source": {
|
|
||||||
"directories": [
|
|
||||||
"module/*/src"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"timeout": 5,
|
|
||||||
"logs": {
|
|
||||||
"text": "build/infection-cli/infection-log.txt",
|
|
||||||
"html": "build/infection-cli/infection-log.html",
|
|
||||||
"summary": "build/infection-cli/summary-log.txt",
|
|
||||||
"debug": "build/infection-cli/debug-log.txt"
|
|
||||||
},
|
|
||||||
"tmpDir": "build/infection-cli/temp",
|
|
||||||
"phpUnit": {
|
|
||||||
"configDir": "."
|
|
||||||
},
|
|
||||||
"testFrameworkOptions": "--configuration=phpunit-cli.xml",
|
|
||||||
"mutators": {
|
|
||||||
"@default": true,
|
|
||||||
"IdenticalEqual": false,
|
|
||||||
"NotIdenticalNotEqual": false
|
|
||||||
}
|
|
||||||
}
|
|
24
infection-cli.json5
Normal file
24
infection-cli.json5
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
source: {
|
||||||
|
directories: [
|
||||||
|
'module/*/src'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
timeout: 5,
|
||||||
|
logs: {
|
||||||
|
text: 'build/infection-cli/infection-log.txt',
|
||||||
|
html: 'build/infection-cli/infection-log.html',
|
||||||
|
summary: 'build/infection-cli/summary-log.txt',
|
||||||
|
debug: 'build/infection-cli/debug-log.txt'
|
||||||
|
},
|
||||||
|
tmpDir: 'build/infection-cli/temp',
|
||||||
|
phpUnit: {
|
||||||
|
configDir: '.'
|
||||||
|
},
|
||||||
|
testFrameworkOptions: '--configuration=phpunit-cli.xml',
|
||||||
|
mutators: {
|
||||||
|
'@default': true,
|
||||||
|
IdenticalEqual: false,
|
||||||
|
NotIdenticalNotEqual: false
|
||||||
|
}
|
||||||
|
}
|
@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"source": {
|
|
||||||
"directories": [
|
|
||||||
"module/*/src"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"timeout": 5,
|
|
||||||
"logs": {
|
|
||||||
"text": "build/infection-db/infection-log.txt",
|
|
||||||
"html": "build/infection-db/infection-log.html",
|
|
||||||
"summary": "build/infection-db/summary-log.txt",
|
|
||||||
"debug": "build/infection-db/debug-log.txt"
|
|
||||||
},
|
|
||||||
"tmpDir": "build/infection-db/temp",
|
|
||||||
"phpUnit": {
|
|
||||||
"configDir": "."
|
|
||||||
},
|
|
||||||
"testFrameworkOptions": "--configuration=phpunit-db.xml",
|
|
||||||
"mutators": {
|
|
||||||
"@default": true,
|
|
||||||
"IdenticalEqual": false,
|
|
||||||
"NotIdenticalNotEqual": false
|
|
||||||
}
|
|
||||||
}
|
|
24
infection-db.json5
Normal file
24
infection-db.json5
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
source: {
|
||||||
|
directories: [
|
||||||
|
'module/*/src'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
timeout: 5,
|
||||||
|
logs: {
|
||||||
|
text: 'build/infection-db/infection-log.txt',
|
||||||
|
html: 'build/infection-db/infection-log.html',
|
||||||
|
summary: 'build/infection-db/summary-log.txt',
|
||||||
|
debug: 'build/infection-db/debug-log.txt'
|
||||||
|
},
|
||||||
|
tmpDir: 'build/infection-db/temp',
|
||||||
|
phpUnit: {
|
||||||
|
configDir: '.'
|
||||||
|
},
|
||||||
|
testFrameworkOptions: '--configuration=phpunit-db.xml',
|
||||||
|
mutators: {
|
||||||
|
'@default': true,
|
||||||
|
IdenticalEqual: false,
|
||||||
|
NotIdenticalNotEqual: false
|
||||||
|
}
|
||||||
|
}
|
@ -1,26 +0,0 @@
|
|||||||
{
|
|
||||||
"source": {
|
|
||||||
"directories": [
|
|
||||||
"module/*/src"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"timeout": 5,
|
|
||||||
"logs": {
|
|
||||||
"text": "build/infection-unit/infection-log.txt",
|
|
||||||
"html": "build/infection-unit/infection-log.html",
|
|
||||||
"summary": "build/infection-unit/summary-log.txt",
|
|
||||||
"debug": "build/infection-unit/debug-log.txt",
|
|
||||||
"stryker": {
|
|
||||||
"report": "develop"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tmpDir": "build/infection-unit/temp",
|
|
||||||
"phpUnit": {
|
|
||||||
"configDir": "."
|
|
||||||
},
|
|
||||||
"mutators": {
|
|
||||||
"@default": true,
|
|
||||||
"IdenticalEqual": false,
|
|
||||||
"NotIdenticalNotEqual": false
|
|
||||||
}
|
|
||||||
}
|
|
26
infection.json5
Normal file
26
infection.json5
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
source: {
|
||||||
|
directories: [
|
||||||
|
'module/*/src'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
timeout: 5,
|
||||||
|
logs: {
|
||||||
|
text: 'build/infection-unit/infection-log.txt',
|
||||||
|
html: 'build/infection-unit/infection-log.html',
|
||||||
|
summary: 'build/infection-unit/summary-log.txt',
|
||||||
|
debug: 'build/infection-unit/debug-log.txt',
|
||||||
|
stryker: {
|
||||||
|
report: 'develop'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
tmpDir: 'build/infection-unit/temp',
|
||||||
|
phpUnit: {
|
||||||
|
configDir: '.'
|
||||||
|
},
|
||||||
|
mutators: {
|
||||||
|
'@default': true,
|
||||||
|
IdenticalEqual: false,
|
||||||
|
NotIdenticalNotEqual: false
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user