An open API service indexing awesome lists of open source software.

https://github.com/staffbase/github-action-find-flaky-tests

A GitHub Action that finds flaky tests in a repository based on the test runs of a given branch.
https://github.com/staffbase/github-action-find-flaky-tests

actions github-actions tests

Last synced: about 1 year ago
JSON representation

A GitHub Action that finds flaky tests in a repository based on the test runs of a given branch.

Awesome Lists containing this project

README

          

# 🔎 FindFlakyTests Action

A GitHub Action that finds flaky tests in a repository based on the test runs of a given branch.
Afterward, it posts a comment in a given Slack channel with the results.

```yaml
name: Find flaky tests
on:
# At 05:00 on Monday.
schedule:
- cron: '0 5 * * 1'

jobs:
flaky_tests:
name: Flaky tests
runs-on: ubuntu-latest
steps:
- name: Find flaky tests
uses: Staffbase/github-action-find-flaky-tests@
with:
# identifier for the slack channel
slack-channel-id: 45678787976
# name of the slack channel
slack-channel-name: '#flaky-tests'
# optional: name of the repository where it should check, default: current repository
repository: 'Staffbase/test-flaky'
# optional: name of the branch where it should check, default: main
branch: 'master'
# prefix of the test run which should be filtered out
prefix: 'test-'
# URL of the Slack incoming webhooks
slack-incoming-webhooks-url: ${{ secrets.SLACK_INCOMING_WEBHOOKS_URL }}
# GitHub token
token: ${{ secrets.GITHUB_TOKEN }}
```

## Release 🔖

To create a new release just use [this page][release-new] and publish the draft release.

## Contributing 👥

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.



Staffbase GmbH


Staffbase GmbH

Staffbase is an internal communications platform built to revolutionize the way you work and unite your company. Staffbase is hiring: jobs.staffbase.com

GitHub | Website | Jobs

[release-new]: https://github.com/Staffbase/github-action-find-flaky-tests/releases