-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running a background process in CI #15
Comments
Circle CI seems to let you run multiple containers to test against: https://circleci.com/blog/setting-up-tricky-containers-in-circle-2-0-multi-image/ |
@th0mas yeah, just because you can use multiple Docker Containers, doesn't mean you want to. 😉 As discussed on our Standup call I think we could independently deploy the Hub App to Heroku and use that in testing the firmware. Though it might incur some network latency, that may result in slower test execution. 💭 I can set-up a separate Heroku account to run the Hub app to ensure that we never run out of "free" dyno hours This is what I've done to test https://github.com/dwyl/auth which calls out to https://dwylmail.herokuapp.com/ in CI. LMK what you think/decide. I'm happy to do the Heroku work so you don't have to. |
Closing for now as we have technically cheated and run our testing hub server on heroku, see dwyl/smart-home-auth-server#14 |
For our integration tests, we need to run a background process in our CI provider - currently Travis.
We're currently doing this through
Which starts the server process and assigns an environment variable to the PID.
However, we can't view logs with this method which is tripping us up in #13.
We need to figure out a way of running a background process on a CI provider that allows us to test against our hub server.
The text was updated successfully, but these errors were encountered: