Skip to content

Commit

Permalink
- adjust table structure
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Nov 3, 2024
1 parent cfb2e06 commit d9c3594
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
group_suite: true
comment: true
skip_annotations: true
check_title_template: '{{SUITE_NAME}} | {{TEST_NAME}}'
check_title_template: '{{TEST_NAME}}'
annotate_only: ${{ github.event_name == 'workflow_dispatch' }}

release:
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export function buildSummaryTables(
])
}
} else {
detailsTable.push([`${testResult.checkName}`, ``, ``])
for (const internalTestResult of testResult.testResults) {
appendDetailsTable(internalTestResult, detailsTable, includePassed)
}
Expand All @@ -100,10 +101,9 @@ function appendDetailsTable(
annotation => includePassed || annotation.annotation_level !== 'notice'
)
if (annotations.length > 0) {
detailsTable.push([`${testResult.name}`, ``, ``])
for (const annotation of annotations) {
detailsTable.push([
``,
`${testResult.name}`,
`${annotation.title}`,
`${
annotation.status === 'success'
Expand Down

0 comments on commit d9c3594

Please sign in to comment.