I was wondering how I might be able to set up automated tests when preparing for a production deploy.
Ideally, I would be able to:
- trigger a new preview environment
- Once that env is up, trigger automated tests to run
- If those tests pass, promote that env to production.
Hi @capyjara if you are managing your service via Blueprints with preview environments enabled, then Render will automatically post deployment status updates to the Github repository. You can set up a Github action to check for the deployment status to be active
, so that when a PR is opened on the repo, the preview environment is created and you can run your automated tests when the deployment status has been updated on the Github repo.