mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05:00
Added PR comment for flaky tests
This commit is contained in:
parent
4a7ba578a4
commit
440fda6e1d
1 changed files with 4 additions and 3 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -350,10 +350,11 @@ jobs:
|
|||
STRIPE_PUBLISHABLE_KEY: ${{ secrets.STRIPE_PUBLISHABLE_KEY }}
|
||||
STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }}
|
||||
|
||||
- name: Run CTRF annotations
|
||||
working-directory: ghost/core
|
||||
run: npx github-actions-ctrf ./ctrf/ctrf-report.json
|
||||
- name: Publish flaky test results
|
||||
run: npx github-actions-ctrf flaky ghost/core/ctrf/ctrf-report.json --pr-comment
|
||||
if: always()
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: tryghost/actions/actions/slack-build@main
|
||||
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
|
|
Loading…
Add table
Reference in a new issue