From 564d04a5a69eeb4a9c3d0eee6704d178723443df Mon Sep 17 00:00:00 2001 From: Matthew Thomas Date: Thu, 3 Oct 2024 19:17:59 +0100 Subject: [PATCH] chore: add previous results title --- src/historical.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/historical.ts b/src/historical.ts index 672df973..60e7978a 100644 --- a/src/historical.ts +++ b/src/historical.ts @@ -56,7 +56,6 @@ export async function generateHistoricSummary( const limitedSummaryRows = summaryRows.slice(0, rows) const summaryTable = ` - | Build ๐Ÿ—๏ธ | Result ๐Ÿงช | Tests ๐Ÿ“ | Passed โœ… | Failed โŒ | Skipped โญ๏ธ | Pending โณ | Other โ“ | Flaky ๐Ÿ‚ | Duration โฑ๏ธ | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ${limitedSummaryRows.join('\n')} @@ -64,6 +63,8 @@ ${limitedSummaryRows.join('\n')} [Github Actions Test Reporter CTRF](https://github.com/ctrf-io/github-actions-test-reporter-ctrf) ` + core.summary.addHeading(`Previous Results`, 3) + core.summary.addRaw(summaryTable).write() }