From ee0c11cb2d9cb145bfbdbadba9e50688cc1f6614 Mon Sep 17 00:00:00 2001 From: Jason Naylor Date: Mon, 2 Dec 2024 10:51:34 -0800 Subject: [PATCH] Switch to using dotnet test as the test runner * Exclude the SIL.LCModel.Utils.Tests.dll since that is a utility dll that has tests in it --- .github/workflows/ci-cd.yml | 2 +- build/FLExBridge.proj | 30 ++++++++---------------------- 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index a8b7e502..6d94ecc3 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -87,7 +87,7 @@ jobs: - name: Publish Test Results uses: EnricoMi/publish-unit-test-result-action/windows@v2 with: - files: '**/TestResults.xml' + files: '**/*TestResults.trx' - name: Create NuGet packages shell: cmd diff --git a/build/FLExBridge.proj b/build/FLExBridge.proj index ef17557a..325843a3 100644 --- a/build/FLExBridge.proj +++ b/build/FLExBridge.proj @@ -1,7 +1,6 @@ - $(MSBuildProjectDirectory)/.. - $(teamcity_build_checkoutDir) + $(MSBuildProjectDirectory)/.. Debug Any CPU FLExBridge.sln @@ -10,24 +9,19 @@ 0 0 KnownMonoIssue,UnknownMonoIssue - SkipOnTeamCity,$(ExtraExcludeCategories) + SkipOnCI,$(ExtraExcludeCategories) true 10.0.0-beta0081 $(RootDir)/packages/GitVersion.MsBuild/build/GitVersion.MsBuild.props $(RootDir)/packages/GitVersion.MsBuild/build/GitVersion.MsBuild.targets $(RootDir)/packages/SIL.BuildTasks/tools/SIL.BuildTasks.dll $(RootDir)/packages/SIL.ReleaseTasks/build/SIL.ReleaseTasks.props - $(RootDir)/packages/NUnit.ConsoleRunner/tools - $(NUnitToolsDir)/nunit3-console.exe - $(RootDir)/packages/BuildDependencyTasks/BuildDependencyTasks.dll true false false $(RootDir)/packages/MSBuildTasks.1.5.0.235/tools/MSBuild.Community.Tasks.Targets true true - true - false net462 @@ -44,9 +38,6 @@ - @@ -203,19 +194,14 @@ - + + - + +