osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: python tests run as part of 'javaPreCommit'


One thing to clarify is that `:javaPreCommit` is a task and `build` is another task. There's so verb-object relationship in your commandline. So as written, you've asked for a whole-project `build`, which weirdly in Gradle means "build and test". Since it is one commandline, all the necessary steps for both tasks will be in one dependency graph so they won't be executed twice.

Kenn

On Tue, Oct 16, 2018 at 6:11 AM Colm O hEigeartaigh <coheigea@xxxxxxxxxx> wrote:
Hi all,

Just a quick question - I was wondering why the python tests/build run as part of the 'javaPreCommit' task?

i.e. executing "./gradlew build :javaPreCommit" leads to python tests being run as well, which is not something you might expect from the name of the task.

Colm.


--
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com