Change to fork of audit to log flaky tests (#9518)
This will report the names of flaky tests instead of just counting them.
This commit is contained in:
parent
3eaf1432aa
commit
27f73f2b7b
|
@ -58,14 +58,27 @@ jobs:
|
|||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: pr-audit
|
||||
- uses: backspace/ember-test-audit-comparison-action@v1
|
||||
- uses: backspace/ember-test-audit-comparison-action@v2
|
||||
with:
|
||||
base-report-path: base-audit.json
|
||||
comparison-report-path: pr-audit.json
|
||||
base-identifier: ${{ github.event.pull_request.base.ref }}
|
||||
comparison-identifier: ${{ github.event.pull_request.head.sha }}
|
||||
output-path: audit-diff.md
|
||||
timing-output-path: audit-diff.md
|
||||
flakiness-output-path: flakiness-report.md
|
||||
- uses: marocchino/sticky-pull-request-comment@33a6cfb
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
path: audit-diff.md
|
||||
- name: Check for existence of flakiness report
|
||||
id: check_file
|
||||
uses: andstor/file-existence-action@v1
|
||||
with:
|
||||
files: "flakiness-report.md"
|
||||
- name: comment PR
|
||||
if: steps.check_file.outputs.files_exists == 'true'
|
||||
uses: machine-learning-apps/pr-comment@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
path: flakiness-report.md
|
||||
|
|
Loading…
Reference in New Issue