mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 02:37:22 +01:00
Adds a composer test:parallel script
This commit is contained in:
@ -60,12 +60,14 @@
|
|||||||
"test:lint": "php-cs-fixer fix -v --dry-run",
|
"test:lint": "php-cs-fixer fix -v --dry-run",
|
||||||
"test:types": "phpstan analyse --ansi --memory-limit=-1",
|
"test:types": "phpstan analyse --ansi --memory-limit=-1",
|
||||||
"test:unit": "php bin/pest --colors=always --exclude-group=integration",
|
"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",
|
"test:integration": "php bin/pest --colors=always --group=integration",
|
||||||
"update:snapshots": "REBUILD_SNAPSHOTS=true php bin/pest --colors=always",
|
"update:snapshots": "REBUILD_SNAPSHOTS=true php bin/pest --colors=always",
|
||||||
"test": [
|
"test": [
|
||||||
"@test:lint",
|
"@test:lint",
|
||||||
"@test:types",
|
"@test:types",
|
||||||
"@test:unit",
|
"@test:unit",
|
||||||
|
"@test:parallel",
|
||||||
"@test:integration"
|
"@test:integration"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -85,5 +87,11 @@
|
|||||||
"Pest\\Laravel\\PestServiceProvider"
|
"Pest\\Laravel\\PestServiceProvider"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"repositories": [
|
||||||
|
{
|
||||||
|
"type": "path",
|
||||||
|
"url": "../pest-plugin-parallel"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user