From 719cd554bdbbb4fd58d6a9dcae4b911badffd0c1 Mon Sep 17 00:00:00 2001 From: Davin Chia Date: Sun, 9 Oct 2022 14:41:30 -0700 Subject: [PATCH] Start testing buildpulse. (#17712) Buildpulse.io is a tool for detecting flaky tests that integrates well with GHA. Flaky tests are something we want to start figuring out more of. This PR starts pushing platform tests to buildpulse so we can start trialing out this tool. The idea is to try this out for a couple of weeks (enough time to see if this tool actually can detect flaky tests) and decide if this serves our needs. --- .github/workflows/gradle.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index a473c86cfad5..8f56fcdc063f 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -530,6 +530,16 @@ jobs: path: '/actions-runner/_work/airbyte/airbyte/*/build/test-results/*/*.xml,/actions-runner/_work/airbyte/airbyte/*/*/build/test-results/*/*.xml' reporter: java-junit + - name: Upload test results to BuildPulse for flaky test detection + if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. + uses: Workshop64/buildpulse-action@main + with: + account: 59758427 + repository: 283046497 + path: '/actions-runner/_work/airbyte/airbyte/*' + key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} + secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} + # In case of self-hosted EC2 errors, remove this block. stop-platform-build-runner: name: "Platform: Stop Build EC2 Runner" @@ -669,6 +679,16 @@ jobs: path: '/actions-runner/_work/airbyte/airbyte/*/build/test-results/*/*.xml' reporter: java-junit + - name: Upload test results to BuildPulse for flaky test detection + if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. + uses: Workshop64/buildpulse-action@main + with: + account: 59758427 + repository: 283046497 + path: '/actions-runner/_work/airbyte/airbyte/*' + key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} + secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} + - uses: actions/upload-artifact@v2 if: failure() with: