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.
- Host: GitHub
- URL: https://github.com/staffbase/github-action-find-flaky-tests
- Owner: Staffbase
- License: apache-2.0
- Created: 2025-03-03T14:49:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-10T12:22:27.000Z (about 1 year ago)
- Last Synced: 2025-04-12T20:54:00.819Z (about 1 year ago)
- Topics: actions, github-actions, tests
- Language: Python
- Homepage:
- Size: 52.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 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