From 8806bb9c7ef5c382826fe95161a70a0900a56317 Mon Sep 17 00:00:00 2001 From: joekolodz Date: Tue, 26 Jul 2022 23:56:40 -0500 Subject: [PATCH] change test runner upgraded package references so there is no packages folder --- .github/workflows/build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 392667f..929f4f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,15 +30,21 @@ jobs: - name: Build run: msbuild SierraHOTAS.sln -m /p:Configuration=Release +# - name: Test +# run: packages\xunit.runner.console.2.4.1\tools\net472\xunit.console.exe tests\bin\Release\SierraHOTAS.Tests.dll -xml sierrahotas-test-results.xml + - name: Test - run: packages\xunit.runner.console.2.4.1\tools\net472\xunit.console.exe tests\bin\Release\SierraHOTAS.Tests.dll -xml sierrahotas-test-results.xml + run: dotnet test tests\bin\Release\SierraHOTAS.Tests.dll --logger "html;logfilename=sierrahotas-test-results.html" + +# - name: Test +# run: dotnet test tests\bin\Release\SierraHOTAS.Tests.dll --logger "trx;logfilename=sierrahotas-test-results.xml" - name: Upload Unit Test Results if: always() uses: actions/upload-artifact@v2 with: name: Unit Test Results - path: sierrahotas-test-results.xml + path: sierrahotas-test-results.html - name: Create Setup run: msbuild SierraHOTASSetup\SierraHOTASSetup.wixproj -m /p:Configuration=Release