Open emadbatwa opened 4 months ago
Having the same issue on Bitbucket pipelines. Did you try with --parallel
as the first option?
Finally found the solution for me at least. Seems to have to do with composer not installing the scripts in version 2.7 onwards. Adding COMPOSER_ALLOW_SUPERUSER=1
solved the issue.
Seems related to https://github.com/pestphp/pest/issues/94
Can someone pull request this to the documentation?
Can someone pull request this to the documentation?
Does using composer config allow-plugins.pestphp/pest-plugin
to add the Pest Plugin as an allowed Composer plugin in the composer.json
not work? 🤔 That way, it only enables the Pest plugin (rather than allowing any scripts to run with SU access).
Does using
composer config allow-plugins.pestphp/pest-plugin
to add the Pest Plugin as an allowed Composer plugin in thecomposer.json
not work? 🤔 That way, it only enables the Pest plugin (rather than allowing any scripts to run with SU access).
I'm afraid not, it returns this message (in Bitbucket at least):
Composer plugins have been disabled for safety in this non-interactive session.
Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
What Happened
when run pest with --parallel flag on github action always get INFO Unknown option "--parallel".
the workflow file is :
but if i remove --parallel i can run without any issue
How to Reproduce
create github workflow file push to github see actions failed with error :
INFO Unknown option "--parallel".
Error: Process completed with exit code 2.
Sample Repository
No response
Pest Version
2.34.7
PHP Version
8.3
Operation System
Linux
Notes
No response