File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -82,11 +82,18 @@ jobs:
82
82
- 'src/testresources/**'
83
83
plugins:
84
84
- 'src/plugin/**'
85
+ buildconf:
86
+ - 'build.xml'
87
+ - 'ivy/ivy.xml'
88
+ # run if the build configuration or both 'core' and 'plugins' files were changed
89
+ - name : test all
90
+ if : ${{ steps.filter.outputs.buildconf == 'true' || ( steps.filter.outputs.core == 'true' && steps.filter.outputs.plugin == 'true' ) }}
91
+ run : ant clean test -buildfile build.xml
85
92
# run only if 'core' files were changed
86
93
- name : test core
87
- if : steps.filter.outputs.core == 'true'
94
+ if : ${{ steps.filter.outputs.core == 'true' && steps.filter.outputs.plugins == 'false' && steps.filter.outputs.buildconf == 'false' }}
88
95
run : ant clean test-core -buildfile build.xml
89
96
# run only if 'plugins' files were changed
90
97
- name : test plugins
91
- if : steps.filter.outputs.plugins == 'true'
98
+ if : ${{ steps.filter.outputs.plugins == 'true' && steps.filter.outputs.core == 'false' && steps.filter.outputs.buildconf == 'false' }}
92
99
run : ant clean test-plugins -buildfile build.xml
You can’t perform that action at this time.
0 commit comments