Skip to content

Commit 3aeedf2

Browse files
authored
Merge pull request #343 from Staffbase/dependabot/github_actions/Staffbase/github-action-find-flaky-tests-0.3.0
chore(deps): bump Staffbase/github-action-find-flaky-tests from 0.2.1 to 0.3.0
2 parents 9459d4a + 88301a7 commit 3aeedf2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/template_flaky_tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ on:
1717
required: false
1818
type: string
1919
default: 'main'
20+
path-suffixes:
21+
required: false
22+
type: string
2023
prefix:
2124
required: true
2225
type: string
@@ -32,12 +35,13 @@ jobs:
3235
runs-on: ubuntu-24.04
3336
steps:
3437
- name: Find flaky tests
35-
uses: Staffbase/github-action-find-flaky-tests@v0.2.1
38+
uses: Staffbase/github-action-find-flaky-tests@v0.3.0
3639
with:
3740
slack-channel-id: ${{ inputs.slack-channel-id }}
3841
slack-channel-name: ${{ inputs.slack-channel-name }}
3942
repository: ${{ inputs.repository }}
4043
branch: ${{ inputs.branch }}
44+
path-suffixes: ${{ inputs.path-suffixes }}
4145
prefix: ${{ inputs.prefix }}
4246
slack-incoming-webhooks-url: ${{ secrets.slack-incoming-webhooks-url }}
4347
token: ${{ secrets.token }}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ jobs:
192192
repository: 'Staffbase/test-flaky'
193193
# optional: name of the branch where it should check, default: main
194194
branch: 'master'
195+
# optional: file path suffixes (comma seperated) to filter the test files
196+
path-suffixes: ".spec.ts,.spec.tsx,.test.ts,.test.tsx"
195197
# prefix of the test run which should be filtered out
196198
prefix: 'test-'
197199
secrets:

0 commit comments

Comments
 (0)