I am already using CircleCI for my project. I would like to test it against one of it’s dependencies, an open source project on GitHub. I don’t want to fork the open source project because I want it to be as up-to-date as possible and my tests to fail if breaking changes are made. I need to set the env var IP address of the open source project in both places if it’s not 127.0.0.1 so that my project can make test api calls to it. On my local machine, I use Docker for Mac so everything is on the default localhost ip, but that may be different in CircleCI. I clone the open source project and run docker-compose up and I run my project’s tests. Is this possible? If so, do you have any advice?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How do I run an application, and run tests against it? | 6 | 2481 | July 27, 2020 | |
How can I set local variables using circleci cli and docker-compose via setup_remote_docker? | 0 | 3191 | August 15, 2019 | |
Running application with docker-compose for testing | 1 | 2971 | June 18, 2018 | |
How do I setup docker based integration tests(ory/dockertest) | 6 | 3733 | June 24, 2019 | |
.env file and CircleCI | 2 | 9915 | September 9, 2018 |