Skip to content

Commit

Permalink
Start testing buildpulse. (#17712)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
davinchia authored Oct 9, 2022
1 parent 89a9d64 commit 719cd55
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 719cd55

Please sign in to comment.