Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/template_flaky_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:
required: false
type: string
default: 'main'
path-suffixes:
required: false
type: string
prefix:
required: true
type: string
Expand All @@ -32,12 +35,13 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Find flaky tests
uses: Staffbase/github-action-find-flaky-tests@v0.2.1
uses: Staffbase/github-action-find-flaky-tests@v0.3.0
with:
slack-channel-id: ${{ inputs.slack-channel-id }}
slack-channel-name: ${{ inputs.slack-channel-name }}
repository: ${{ inputs.repository }}
branch: ${{ inputs.branch }}
path-suffixes: ${{ inputs.path-suffixes }}
prefix: ${{ inputs.prefix }}
slack-incoming-webhooks-url: ${{ secrets.slack-incoming-webhooks-url }}
token: ${{ secrets.token }}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ jobs:
repository: 'Staffbase/test-flaky'
# optional: name of the branch where it should check, default: main
branch: 'master'
# optional: file path suffixes (comma seperated) 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-'
secrets:
Expand Down