# How to setup Github CI for monorepo?

**URL:** <https://discourse.julialang.org/t/how-to-setup-github-ci-for-monorepo/130655>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 11, 2025, 9:01pm UTC](https://discourse.julialang.org/t/how-to-setup-github-ci-for-monorepo/130655 "2025-07-11T21:01:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [July 11, 2025, 9:01pm UTC](https://discourse.julialang.org/t/how-to-setup-github-ci-for-monorepo/130655/1 "2025-07-11T21:01:36Z")

</div>

> <https://github.com/SciML/Optimization.jl/blob/02c3d9faaecff861d042efeb64626b25bf8e4b2b/.github/workflows/CI.yml#L16>

one approach seems to have `runtests.jl` essentially detect what needs to be run by ENV, but seems to be complicated.

For repos that really have just 1-2 sub-package, is there a simpler way?
