From f0e9d268c7a2a7675d07be9cadf67f4e03682f24 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 5 Aug 2022 11:49:42 -0400 Subject: [PATCH] ci: run downstream native image tests (#779) * ci: running downstream native image tests * docs: updated comments --- .github/workflows/downstream-native-image.yaml | 4 ++-- .kokoro/downstream-client-library-check.sh | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/downstream-native-image.yaml b/.github/workflows/downstream-native-image.yaml index 0439456a..1c06db69 100644 --- a/.github/workflows/downstream-native-image.yaml +++ b/.github/workflows/downstream-native-image.yaml @@ -7,7 +7,7 @@ on: # Keeping this file separate as the dependencies check would use more # repositories than needed this downstream check for GraalVM native image # compilation. -name: downstream +name: downstream-native-image jobs: # GraalVM job ensures the compatibility of GraaVM version graalvm: @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - graalvm: [22.1.0] + graalvm: [22.1.0, 22.0.0.2, 21.3.2] java: [11, 17] repo: # GAPIC library that doesn't use a real GCP project in integration tests diff --git a/.kokoro/downstream-client-library-check.sh b/.kokoro/downstream-client-library-check.sh index 49574cee..5dd5a94c 100755 --- a/.kokoro/downstream-client-library-check.sh +++ b/.kokoro/downstream-client-library-check.sh @@ -62,5 +62,9 @@ if [[ $CLIENT_LIBRARY == "bigtable" ]]; then popd fi +# We don't want to fail the test due to enforcer rule, before running GraalVM +# tests. Checking GraalVM buidl result is more important. +export INTEGRATION_TEST_ARGS="-Denforcer.skip=true" + # This reads the JOB_TYPE environmental variable ("test" or "graalvm") .kokoro/build.sh