Skip to content

Commit

Permalink
RNET-1130: Fail action if tests aren't passing (#3593)
Browse files Browse the repository at this point in the history
  • Loading branch information
papafe authored May 3, 2024
1 parent 8cd79e3 commit 93bbd4b
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/templates/test.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
#@ end
---
#@ def testDefinition(additionalSecrets = [], additionalInputs = []):
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
test-maui:
runs-on: windows-latest
name: Maui.Android
Expand Down Expand Up @@ -150,4 +150,4 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/test-code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
4 changes: 2 additions & 2 deletions .github/workflows/test-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
test-maui:
runs-on: macos-13
name: Maui.iOS
Expand Down Expand Up @@ -121,4 +121,4 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
4 changes: 2 additions & 2 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
test-maui:
runs-on: macos-13
name: Maui.MacCatalyst
Expand Down Expand Up @@ -111,4 +111,4 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/test-net-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/test-net-framework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/test-source-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/test-tvos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
4 changes: 2 additions & 2 deletions .github/workflows/test-unity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
run-tests-windows:
runs-on: windows-latest
name: Unity Windows
Expand Down Expand Up @@ -134,4 +134,4 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/test-uwp-managed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/test-weaver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/test-woven-classes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ jobs:
list-suites: failed
list-tests: failed
path-replace-backslashes: true
fail-on-error: false
fail-on-error: true

0 comments on commit 93bbd4b

Please sign in to comment.