Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

πŸ”Ž 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.

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@<version>
 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'
 # optional: path suffixes to filter the test files
 path-suffixes: ".spec.ts,.spec.tsx,.test.ts,.test.tsx"
 # 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 and publish the draft release.

Contributing πŸ‘₯

Please read 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

About

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

Topics

Resources

Contributing

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /