How to test 2 linked repos?

Hello everybody,

so imagine you have an api-repo and frontend-repo.

When I run CI on the api-repo - all is OK.

But when running tests on frontend-repo, I need bring the the api-repo online, so I could do different kinds of test on the frontend-reop.

How would you guys achieve that (bring the other repo online?)? Or maybe you have osme other ideas?

Thank you!