An Azure relational database service.
How to Run Integration Tests Against a Live Azure SQL Database in GitHub Actions for .NET Projects?
I'm working on a .NET 8 API that connects to Azure SQL. I want to run integration tests against a temporary Azure SQL instance during the GitHub Actions workflow.
Has anyone successfully done this without hard coding credentials or leaving resources running? What’s the best pattern to:
Provision an Azure SQL DB on workflow start
Run integration tests
- Tear down the DB safely afterwards?
Azure SQL Database
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
4 deleted comments
Comments have been turned off. Learn more