I have 3 github repos:
core, a rails codebase with some unit tests
web, a frontend js codebase with some unit tests
testing, a repo containing only selenium tests.
I already have
web building on circle - whenever a branch is pushed to one of those repos, that repo runs its unit tests on circle.
What I want to do is: whenever either
web repos get a branch pushed to them, the
testing repo gets built on circle.
Is there any simple way to do this? Off the top of my head the best I can come up with is having the
web build configs each have, as their last step, a command to call circle’s api to trigger a build on
testing. Alternately, maybe I could use github’s webhooks to trigger that build directly. Ideally, though, there’s some way in circle to say “run this repo’s build whenever these other repos build” that I just haven’t found yet.