Skip to content

Commit be2994b

Browse files
committed
Change: Adjust test command in workflow and add global.json for test runner configuration
1 parent 67a5bff commit be2994b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/onPullRequest-TestDotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
run: dotnet build CodeOfChaos.Ansi.slnx --configuration Release --no-restore
2727

2828
- name: Run tests
29-
run: dotnet test CodeOfChaos.Ansi.slnx --configuration Release --no-restore --no-build
29+
run: dotnet test --solution CodeOfChaos.Ansi.slnx --configuration Release --no-restore --no-build

global.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"test": {
3+
"runner": "Microsoft.Testing.Platform"
4+
}
5+
}

0 commit comments

Comments
 (0)