How to setup testing database for Azure Devops pipeline with my Laravel PHP test

David Beljaars 20 Reputation points
2025-02-14T08:16:58.48+00:00

I would like to get tips/help on how to setup a pipeline which contains a database and how to point to that database to use for testing.

Should i make a new .env file in the root dir and call that in the pipeline or should i run a docker container in the pipeline which uses the database in compose?

Im using phpunit as my testing framework

Community Center Not monitored
0 comments No comments
{count} votes

Accepted answer
  1. Rakesh Gurram 15,700 Reputation points Microsoft External Staff Moderator
    2025-02-14T09:45:12.1566667+00:00

    Hi David Beljaars,

    Thank you for reaching out to us on the Microsoft Q&A forum.

    Azure DevOps is currently not supported in the Q&A forums.

    I recommend initiating a new discussion through the Developer Community

    Moderators are readily available there to assist you and provide guidance.

    Please don't forget to Accept answer and close this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.