subosito / flutter-action

Flutter environment for use in GitHub Actions. It works on Linux, Windows, and macOS.
MIT License
2.23k stars 199 forks source link

Have github action fail if test fails #209

Closed ZayedKherani closed 1 year ago

ZayedKherani commented 1 year ago

After writing a github action for flutter test, have the action pass only if all test cases pass, meaning a single test failure results in an action failure. I am setting up a branch protection rule so that branches can only be merged if a pull request is made and the Flutter Test github action passes, and wouldn't want a failing test to push to the main branch