Adds a composer test:parallel script

This commit is contained in:
luke
2021-08-13 13:40:07 +01:00
parent 4dfc02c5da
commit 0368c4846f

View File

@ -60,12 +60,14 @@
"test:lint": "php-cs-fixer fix -v --dry-run",
"test:types": "phpstan analyse --ansi --memory-limit=-1",
"test:unit": "php bin/pest --colors=always --exclude-group=integration",
"test:parallel": "php bin/pest -P --colors=always --exclude-group=integration",
"test:integration": "php bin/pest --colors=always --group=integration",
"update:snapshots": "REBUILD_SNAPSHOTS=true php bin/pest --colors=always",
"test": [
"@test:lint",
"@test:types",
"@test:unit",
"@test:parallel",
"@test:integration"
]
},
@ -85,5 +87,11 @@
"Pest\\Laravel\\PestServiceProvider"
]
}
}
},
"repositories": [
{
"type": "path",
"url": "../pest-plugin-parallel"
}
]
}