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: