File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
16
- excluded_modules=(' gapic-libraries-bom' ' google-cloud-jar-parent' ' google-cloud-pom-parent' )
16
+ # TODO: remove java-core once we figure out how setup_cloud understands Maven's
17
+ # "--also-make-dependents" option. https://github.com/googleapis/google-cloud-java/issues/9088
18
+ excluded_modules=(' gapic-libraries-bom' ' google-cloud-jar-parent' ' google-cloud-pom-parent' ' java-core' )
17
19
18
20
function retry_with_backoff {
19
21
attempts_left=$1
@@ -124,9 +126,10 @@ function generate_modified_modules_list() {
124
126
125
127
function run_integration_tests() {
126
128
printf " Running Integration Tests for:\n%s\n" " $1 "
129
+ # --also-make-dependents to run other modules that use the affected module
127
130
mvn -B ${INTEGRATION_TEST_ARGS} \
128
131
-pl " $1 " \
129
- -amd \
132
+ --also-make-dependents \
130
133
-ntp \
131
134
-Penable-integration-tests \
132
135
-DtrimStackTrace=false \
@@ -151,7 +154,7 @@ function run_graalvm_tests() {
151
154
152
155
mvn -B ${INTEGRATION_TEST_ARGS} \
153
156
-pl " $1 " \
154
- -amd \
157
+ --also-make-dependents \
155
158
-ntp \
156
159
-DtrimStackTrace=false \
157
160
-Dclirr.skip=true \
Original file line number Diff line number Diff line change 22
22
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
23
23
<github .global.server>github</github .global.server>
24
24
<site .installationModule>google-cloud-core-parent</site .installationModule>
25
+ <!-- This module itself does not have integration tests and thus cannot
26
+ be tested with native image plugin. Instead, the client libraries that
27
+ use this java-core module have integration tests on native image. -->
28
+ <skipNativeTests >true</skipNativeTests >
25
29
</properties >
26
30
27
31
<modules >
You can’t perform that action at this time.
0 commit comments