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.
This commit is contained in:
20
.github/workflows/gradle.yml
vendored
20
.github/workflows/gradle.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user