Skip to content

Commit 9347387

Browse files
Per Kopsperkops
authored andcommitted
test(ci): ensure vs test uses MTP in pipeline
1 parent bb0e642 commit 9347387

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/post-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
run: dotnet build -c Release --no-restore /p:UseSourceLink=true
4646

4747
- name: 🧪 Run unit tests
48-
run: dotnet test -c Release --no-build --filter "Category!=Integration"
48+
run: dotnet test -c Release --no-build --filter-query "/[category!=integration]" --ignore-exit-code 8
4949

5050
- name: ⏩ Merge to stable-branch
5151
run: |

.github/workflows/pre-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ jobs:
5555
run: dotnet build -c Release --no-restore /p:UseSourceLink=true
5656

5757
- name: 🧪 Run unit tests
58-
run: dotnet test -c Release --no-build --filter "Category!=Integration"
58+
run: dotnet test -c Release --no-build --filter-query "/[category!=integration]" --ignore-exit-code 8

global.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"sdk": {
33
"rollForward": "latestMajor",
44
"allowPrerelease": false
5+
},
6+
"test": {
7+
"runner": "Microsoft.Testing.Platform"
58
}
69
}

0 commit comments

Comments
 (0)