New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composer "test" not running #388
Comments
Sorry but this is info is a bit meager... please provide more info, otherwise this is a useless bug report that we can't do anything about.
|
Using Gitlab Ci Thanks for reply |
So it's using Herokuish or something, on Gitlab CI? Sorry, can't provide support for that. You need to figure it out yourself. Might be PHP 7.4 related. |
I'm getting the same problem on heroku, with PHP 7.4.
My composer does have a test script in composer.json and this used to work. Forcing PHP <7.4.0 (i.e. using 7.3.14) it does work. If you have heroku sudo power and want to look at logs, feel free: https://dashboard.heroku.com/pipelines/d8323639-09f9-4e7e-b697-212bc21c3418/tests/335 Otherwise I'm happy to share whatever else would help debug. |
Is this still an issue for people? I can't reproduce it; it works fine in our CI tests too (there's a bunch of test cases just for this stuff). |
After v174 this error didn't appear |
Bizarre. Nothing changed other than the usual PHP version bumps. But who knows, might have been a runtime bug. Glad to hear it's sorted! |
Found out the reason. In PHP 7.4, This is worked around in Symfony: symfony/symfony#36222, but internally, Composer uses really old versions of course for BC with older PHP releases. |
Composer run-script test not running, but "test" is present in composer.json.
Previously (yesterday) it work's fine.
SMTH goes wrong?
The text was updated successfully, but these errors were encountered: