Skip to content

Commit

Permalink
- include total and skipped count in output
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Jul 15, 2022
1 parent 8df9ab3 commit 1f5921d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 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.

2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ export async function run(): Promise<void> {
).length
const passed = testResult.count - failed - testResult.skipped

core.setOutput('total', testResult.count)
core.setOutput('passed', passed)
core.setOutput('skipped', testResult.skipped)
core.setOutput('failed', failed)

let title = 'No test results found!'
Expand Down

0 comments on commit 1f5921d

Please sign in to comment.