mardi 31 décembre 2019

How to test environment variables configured on Heroku settings

I have a Heroku's CI configured for my app, so what I tried was to test the ENV variables that I have already configured in the settings of Heroku (I want to check if they are correct) as part of my test suites. As you know, this test step runs before the deploy. The problem was that the test was unable to access those variables, it couldn't find them. A I understood, those variables are only accessed by the app during run-time, maybe I'm wrong.

Can you suggest me some workaround in which in can check the ENV variables configured before Heroku deploys my apps?

Aucun commentaire:

Enregistrer un commentaire