Open kanevbg opened 10 months ago
Hi @kanevbg. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.
Running the console command
build:project
with non-default PHP is not working as expected because the command runs sub-processvendor/bin/codecept build
without specifying the PHP binary to run with, that in results makes the composer auto-loader utilize the default PHP binary from the system, which is not expected as we may have executed thebuild:project
command with non system default PHP, eg:Preconditions
No preconditions really, it's logical issues, but to see a practical problem you may use PHP 7.4 (or older) as default system PHP and install the MFTF with PHP 8.1 binary not aliased as
php
in the bash environment.Expected result
Successful build.
Actual result