Skip to content

Commit

Permalink
chore: add previous results title
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma11hewThomas committed Oct 3, 2024
1 parent 3344a26 commit 564d04a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/historical.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@ 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')}
[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()
}

Expand Down

0 comments on commit 564d04a

Please sign in to comment.