Skip to content

Consider tweaking the build to only run tests for affected files. #541

@anuraaga

Description

@anuraaga

I use this technique of reading the git diff to run tests in monorepos

https://github.com/curioswitch/curiostack/blob/master/tools/gradle-plugins/gradle-curiostack-plugin/src/main/java/org/curioswitch/gradle/plugins/ci/CurioGenericCiPlugin.java

This agent is even more of a monorepo than than many I've experienced :) I generally like them but think this sort of "only build affected targets" technique is what makes or breaks the experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:buildIssues about build infra, both local and centralarea:testscontribution welcomeRequest makes sense, maintainers probably won't have time, contribution would be welcomecontributor experienceSomething that we can do to improve the experience of contributors (especially new contributors)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions