From 2c098050479e26c639faf3668039ee900d22c96d Mon Sep 17 00:00:00 2001 From: "Sherif A. Nada" Date: Thu, 22 Oct 2020 22:47:26 -0700 Subject: [PATCH] publish build scans in CI (#691) --- .github/workflows/gradle.yml | 7 ++++--- tools/bin/acceptance_test.sh | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 86e30bd39e85..a58eacb450c2 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -44,17 +44,18 @@ jobs: GH_INTEGRATION_TEST_CREDS: ${{ secrets.GH_INTEGRATION_TEST_CREDS }} - name: Build - run: ./gradlew --no-daemon build + run: ./gradlew --no-daemon build --scan + - name: Ensure no file change run: git status --porcelain && test -z "$(git status --porcelain)" - name: Run Integration Tests - run: ./gradlew --no-daemon integrationTest + run: ./gradlew --no-daemon integrationTest --scan - name: Build Core Docker Images if: success() && github.ref == 'refs/heads/master' - run: ./gradlew --no-daemon composeBuild + run: ./gradlew --no-daemon composeBuild --scan env: GIT_REVISION: ${{ github.sha }} diff --git a/tools/bin/acceptance_test.sh b/tools/bin/acceptance_test.sh index 2e8590d7aae7..6229ffe01425 100755 --- a/tools/bin/acceptance_test.sh +++ b/tools/bin/acceptance_test.sh @@ -22,4 +22,4 @@ echo "Waiting for services to begin" sleep 10 # TODO need a better way to wait echo "Running e2e tests via gradle" -./gradlew --no-daemon :airbyte-tests:acceptanceTests +./gradlew --no-daemon :airbyte-tests:acceptanceTests --scan