Skip to content

Commit 88301a7

Browse files
committed
add new option path-suffixes
1 parent 387e84a commit 88301a7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/template_flaky_tests.yml

Lines changed: 4 additions & 0 deletions
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
@@ -38,6 +41,7 @@ jobs:
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)