How to setup Github CI for monorepo?

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?