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]  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.