Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-14980

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

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            6686cfef07b5 kaleem-ullah
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: