From f5debc563acf7fece2c82224bd10fe87cc7ac16b Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 4 Oct 2024 09:38:29 +0100 Subject: [PATCH] Disable collectReachabilityMetadata when running app tests Closes gh-247 --- .github/workflows/smoke-test.yml | 2 +- .../aot-smoke-test-ci-plugin/src/main/resources/smoke-test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/smoke-test.yml b/.github/workflows/smoke-test.yml index 62142b1e..96c59dd7 100644 --- a/.github/workflows/smoke-test.yml +++ b/.github/workflows/smoke-test.yml @@ -62,7 +62,7 @@ jobs: DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} REPO_SPRING_IO_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} REPO_SPRING_IO_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} - run: ./gradlew ${{ inputs.project }}:${{ inputs.task }} + run: ./gradlew ${{ inputs.type == 'jvm' && '-x collectReachabilityMetadata' }} ${{ inputs.project }}:${{ inputs.task }} continue-on-error: ${{ inputs.expected_to_fail }} - name: Check out send notification action uses: actions/checkout@v4 diff --git a/gradle/plugins/aot-smoke-test-ci-plugin/src/main/resources/smoke-test.yml b/gradle/plugins/aot-smoke-test-ci-plugin/src/main/resources/smoke-test.yml index 62142b1e..96c59dd7 100644 --- a/gradle/plugins/aot-smoke-test-ci-plugin/src/main/resources/smoke-test.yml +++ b/gradle/plugins/aot-smoke-test-ci-plugin/src/main/resources/smoke-test.yml @@ -62,7 +62,7 @@ jobs: DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} REPO_SPRING_IO_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} REPO_SPRING_IO_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} - run: ./gradlew ${{ inputs.project }}:${{ inputs.task }} + run: ./gradlew ${{ inputs.type == 'jvm' && '-x collectReachabilityMetadata' }} ${{ inputs.project }}:${{ inputs.task }} continue-on-error: ${{ inputs.expected_to_fail }} - name: Check out send notification action uses: actions/checkout@v4