Created
March 15, 2023 09:50
-
-
Save vmandic/5afb5b9577eca9cf3b8fdcb85dde4bdd to your computer and use it in GitHub Desktop.
Run all dotnet tests in /test directory with npm / yarn command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"test": "for file in $(find ./tests -name '*.csproj'); do dotnet test $file || exit; done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will short circuit out execution of following csprojs if any in sequence fails.