metacall / deploy

Tool for deploying into MetaCall FaaS platform.
https://dashboard.metacall.io
Apache License 2.0
18 stars 29 forks source link

feat: add setupcheck function #146

Closed Creatoon closed 1 year ago

Creatoon commented 1 year ago

We need some enviroment variables while testing and there is a possiblity that dev won't add .env file and running tests without those env vars will be useless.

So this function will check for every enviroment var we need while testing and if succeed then we will run the tests and if not we will simply skip those tests by raising a failure with a message "Env not found or whatever".

GaurKS commented 1 year ago

hey @Creatoon, can you assign this task to me. I am already into it.

Creatoon commented 1 year ago

@GaurKS Sure go ahead