Skip to content

Commit 621e169

Browse files
Next (#230)
* Feat/summary delta report (#215) * feat: add summary insights enrichment to report processing * Chore/improve design rate tables (#216) * chore: change default value of baseline for metrics comparison from 5 to 1
1 parent 861db83 commit 621e169

26 files changed

+261
-27
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ node_modules/
44
coverage/
55
templates/
66
scripts/
7+
.tools/
78
*.test.ts

.github/workflows/build-and-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: ./
2525
with:
2626
report-path: './ctrf/*.json'
27-
summary-report: true
27+
summary-delta-report: true
2828
github-report: true
2929
failed-report: true
3030
flaky-report: true

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,6 @@ __tests__/runner/*
107107
.idea
108108
.vscode
109109
*.code-workspace
110+
111+
# Local development tools
112+
/.tools

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ For more advanced usage, there are several inputs available.
120120

121121
# Reports - Choose as many as you like. Default is false. Choosing none will use default reports.
122122
summary-report: true
123+
summary-delta-report: false
123124
github-report: false
124125
test-report: false
125126
test-list-report: false

__tests__/ctrf/report-preparation.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ function createSingleReportInputs(): Inputs {
476476
issue: '',
477477
collapseLargeReports: false,
478478
summaryReport: true, // Only 1 report enabled
479+
summaryDeltaReport: false,
479480
githubReport: false,
480481
testReport: false,
481482
testListReport: false,

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ inputs:
2626
description: 'Include the summary report.'
2727
required: false
2828
default: false
29+
summary-delta-report:
30+
description: 'Include the summary delta report.'
31+
required: false
32+
default: false
2933
github-report:
3034
description: 'Include the GitHub report.'
3135
required: false
@@ -226,7 +230,7 @@ inputs:
226230
'Baseline for metrics comparison. Number = previous n reports, string =
227231
reportId.'
228232
required: false
229-
default: 5
233+
default: 1
230234
baseline-report-path:
231235
description: 'Path to a specific CTRF report to use as a baseline.'
232236
required: false

badges/coverage.svg

Lines changed: 1 addition & 1 deletion
Loading

dist/index.js

Lines changed: 89 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/reports/fail-rate-table.hbs

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)