top | item 47204723

(no title)

sluongng | 23 hours ago

Most of the time, the CI resources in a python monorepo is not spent on packaging. It’s spent on running the tests.

I would love to read more about how the author is tackling the testing problem in their setup.

discuss

order

danielgafni|17 hours ago

Hey, I’m the author.

At the bare minimum tests of unchanged code and dependencies would be skipped (cached) as well in this setup.

More sophisticated rules would have to be set up by hand, but again it’s easy to do with Dagger (as you can expected any kind of logic there).

But the whole point of using Dagger in this setup is to get tests caching out of the box, and for that you need to assemble the container correctly (by only including relevant dependency files).