Laravel PHPUnit with bitbucket-pipelines.yml file. Vendor related files not found issue

Issue #14980 resolved
Kaleem Ullah created an issue

Hi There,

I have laravel 5.3 project on bitbucket. I have all folders integrated with bitbucket except auto generated folders like Vendor folder. And I am trying to run Unit test with bitbucket-pipelines.yml. But It is showing error " PDOException: SQLSTATE[HY000] [2002] No such file or directory" on vendor files like "/opt/atlassian/pipelines/agent/build/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php" as i don't have vendor folder on bitbucket.

Is there any way to run PHPunit without vendor folder?

I have also tries "composer update" command befor PHPUnit in .yml file.

Thanks

Comments (1)

  1. Log in to comment