Skip to content

Commit 30a9723

Browse files
committed
let it post to the build summary but skip the pr comment
1 parent 8c987c5 commit 30a9723

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/run-unit-tests.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ jobs:
9494
reports: 'coverage.xml'
9595
targetdir: 'coveragereport'
9696
reporttypes: 'MarkdownSummaryGithub'
97-
title: 'Pester Test Coverage Report'
97+
title: 'Pester Test Coverage Report (Windows)'
98+
- name: Publish coverage in build summary # Only applicable if 'MarkdownSummaryGithub' or one of the other Markdown report types is generated
99+
run: cat coveragereport/SummaryGithub.md >> $GITHUB_STEP_SUMMARY # Adjust path and filename if necessary
100+
shell: bash
98101

99102
pester-test-macos:
100103
name: Pester test (On macOS)
@@ -133,4 +136,7 @@ jobs:
133136
reports: 'coverage.xml'
134137
targetdir: 'coveragereport'
135138
reporttypes: 'MarkdownSummaryGithub'
136-
title: 'Pester Test Coverage Report'
139+
title: 'Pester Test Coverage Report (macOS)'
140+
- name: Publish coverage in build summary # Only applicable if 'MarkdownSummaryGithub' or one of the other Markdown report types is generated
141+
run: cat coveragereport/SummaryGithub.md >> $GITHUB_STEP_SUMMARY # Adjust path and filename if necessary
142+
shell: bash

0 commit comments

Comments
 (0)