Skip to content

Commit

Permalink
Add workflow to find flaky tests
Browse files Browse the repository at this point in the history
Callable with a dispatch or a `/find-flaky-tests` comment
  • Loading branch information
julienduchesne committed Oct 4, 2024
1 parent b69ac1b commit 63a2cbc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/find-flaky-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Find flaky tests
on:
issue_comment:
types: [created]
workflow_dispatch:

jobs:
find-flaky-tests:
if: contains(github.event.comment.body, '/find-flaky-tests')
strategy:
matrix:
runs: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20] # Run the build workflow 20 times
uses: ./.github/workflows/test-build.yml
1 change: 1 addition & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- main
pull_request:
workflow_call:

concurrency:
# Cancel any running workflow for the same branch when new commits are pushed.
Expand Down

0 comments on commit 63a2cbc

Please sign in to comment.