Skip to content

ci: change error-prone check to be more explicit rather than based on $CI env variable #15311

@rmuir

Description

@rmuir

Description

In the CI system, we want to suffer the pain of error-prone just for the "checks without tests" job.

When running the tests, we would prefer that compilation is fast (other job is using error-prone). For example on windows runner, significant portion of "tests" job is actually compilation:

Summary of top-20 task execution times (aggregated by unique name, possibly running in parallel):
 1344.83 sec.  test
 553.56 sec.  compileTestJava
 233.73 sec.  compileJava

It would be better to just pass something like a -Perrorprone in the "checks without tests" job, and don't pass it in the "tests" job?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions