Skip to content

Commit

Permalink
Merge branch 'master' into transforming
Browse files Browse the repository at this point in the history
Signed-off-by: FalloutFalcon <[email protected]>
  • Loading branch information
FalloutFalcon authored Oct 8, 2024
2 parents 0b6c17e + ec669a1 commit f1bc560
Show file tree
Hide file tree
Showing 205 changed files with 10,601 additions and 12,924 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/rerun_flaky_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Rerun/Report Flaky Tests
on:
workflow_run:
workflows: [Checks]
types:
- completed

permissions:
actions: write
contents: write
issues: write

jobs:
rerun_flaky_tests:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.run_attempt == 1 }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Rerun flaky tests
uses: actions/github-script@v6
with:
script: |
const { rerunFlakyTests } = await import('${{ github.workspace }}/tools/pull_request_hooks/rerunFlakyTests.js')
await rerunFlakyTests({ github, context })
report_flaky_tests:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.run_attempt == 2 }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Report flaky tests
uses: actions/github-script@v6
with:
script: |
const { reportFlakyTests } = await import('${{ github.workspace }}/tools/pull_request_hooks/rerunFlakyTests.js')
await reportFlakyTests({ github, context })
Loading

0 comments on commit f1bc560

Please sign in to comment.