A Github Action for reporting test information from BuildPulse to a Discord channel using a Discord Webhook
- name: Send Digest
uses: Rabatta-ApS/[email protected]
with:
buildPulse-api-token: ${{ secrets.BUILDPULSE_API_TOKEN }}
discord-webhook: ${{ secrets.DISCORD_BUILDPULSE_WEBHOOK }}
By default the action fetches tests from the repository that it is being run in. Alternatively, you can specify another repository using the repository input.
- name: Send Digest
uses: Rabatta-ApS/[email protected]
with:
buildPulse-api-token: ${{ secrets.BUILDPULSE_API_TOKEN }}
discord-webhook: ${{ secrets.DISCORD_BUILDPULSE_WEBHOOK }}
repository: facebook/react
You can generate a BuildPulse API token for your organization at https://buildpulse.io/account/@<organization>/api-token
.
For example, if your organization on GitHub is https://github.com/facebook
, then you'd visit https://buildpulse.io/account/@facebook/api-token
to generate your API token.
See the most disruptive tests so you know exactly where to focus first for maximum impact.
The disruptiveness ratio shows the proportion of test runs that failed due to a flaky outcome. For the first test shown above, we see that 41% of the test runs failed due to flakiness.