Automated testing against a preview environment

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:

  1. trigger a new preview environment
  2. Once that env is up, trigger automated tests to run
  3. 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.