zyborg / dotnet-tests-report

GitHub Action to run .NET Core tests and generate report attached to Workflow Run
MIT License
112 stars 36 forks source link

Stop action execution if any test fails? #34

Closed ksydex closed 1 year ago

ksydex commented 2 years ago

Is it possible to stop the execution of an action if any test fails?

timheuer commented 2 years ago

If you mean to stop the execution of the workflow, see https://github.com/zyborg/dotnet-tests-report#set-check-status-based-on-test-outcome to set the check status to failure which will stop the workflow if any failing test is found.