Skip to content

Commit ab11cb7

Browse files
committed
#191 - update test configurations for mtp-v2
1 parent 45e7ed2 commit ab11cb7

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.github/workflows/develop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
- name: Build
5151
run: dotnet build /p:Version=${{ steps.version_step.outputs.fullSemVer }} --no-restore -c Debug -v n
5252
- name: Unit Tests
53-
run: dotnet test -c Debug --no-build -v n -- --filter-trait Category=Unit --ignore-exit-code 8
53+
run: dotnet test -c Debug --no-build -v n --filter-trait Category=Unit
5454
- name: Integration Tests
5555
run: |
56-
dotnet test tests/HydraScript.IntegrationTests -c Debug --no-build -v n -- --coverage --coverage-output-format cobertura --coverage-output coverage.cobertura.xml
56+
dotnet test --project tests/HydraScript.IntegrationTests -c Debug --no-build -v n --coverage --coverage-output-format cobertura --coverage-output coverage.cobertura.xml
5757
mkdir coverage-report
5858
- name: Code Coverage Summary Report For Merge Request
5959
if: github.event_name == 'pull_request'

ExtendedJavaScriptSubset.slnx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<File Path="Directory.Build.props" />
1111
<File Path="Directory.Packages.props" />
1212
<File Path="GitVersion.yml" />
13+
<File Path="global.json" />
1314
<File Path="hydrascript-logo.jpg" />
1415
<File Path="LICENSE" />
1516
<File Path="Readme.md" />

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+
}

tests/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<PropertyGroup>
55
<IsTestProject>true</IsTestProject>
66
<OutputType>Exe</OutputType>
7-
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
87
<UseMicrosoftTestingPlatformRunner>true</UseMicrosoftTestingPlatformRunner>
8+
<TestingPlatformCommandLineArguments>--ignore-exit-code 8</TestingPlatformCommandLineArguments>
99
</PropertyGroup>
1010

1111
<ItemGroup>

0 commit comments

Comments
 (0)