zyborg / pester-tests-report

GitHub Action to run Pester tests and generate report attached to Workflow Run
MIT License
40 stars 13 forks source link

Add Input to Fail Step if Tests Fail #9

Closed natescherer closed 3 years ago

natescherer commented 3 years ago

Hello, I've added a new input "tests_fail_step" that will cause the step to fail if one or more test fail. I've confirmed it works as expected using one of my repos:

tests_fail_step: true https://github.com/natescherer/PoshEmail/actions/runs/706517341 tests_fail_step not set https://github.com/natescherer/PoshEmail/actions/runs/706537403

Please let me know if you have any comments/changes/etc.

ebekker commented 3 years ago

Thanks for the great addition!