Closed php-coder closed 7 years ago
If only tests on Groovy were modified then only unit tests and CodeNarc checking should be performed.
pom.xml
has been modified to catch the changes in the plugin version/configuration.travis.yml
also should be run when .travis.yml
has been changed to catch the possible changes in their versions/configurationI'm going to merge my implementation. Here are some details:
unit and integration tests run always
Actually, we can run unit tests only when one of these were modified: pom.xml
, java or groovy files.
Anyway, unit test will be run again during publishing code coverage (see #391).
Most of our checks are checking only files with a certain type. We'll have a benefit if we run them only when user modified files with certain types.
Examples:
pom.xml
*.html
files*.html
files*.js
*.java
and*.groovy
filespom.xml
has changed*.groovy
files*.java
(and maybe*.properties
) files