diff options
Diffstat (limited to '.github/workflows/unit_tests.yml')
-rw-r--r-- | .github/workflows/unit_tests.yml | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 2eac77730..4d7693b18 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -36,15 +36,10 @@ jobs: nuget restore Duplicati.sln msbuild -p:Configuration=Release Duplicati.sln - - name: Run Unit Tests (Linux) - if: matrix.os == 'ubuntu-latest' + - name: Run Unit Tests run: | nuget install NUnit.Runners -Version 3.12.0 -OutputDirectory nunit - mono nunit/NUnit.ConsoleRunner.3.12.0/tools/nunit3-console.exe Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==Utility --result=TestResults/test_results_linux.xml - - - name: Run Unit Tests (Windows) - if: matrix.os == 'windows-latest' - run: nunit3-console.exe Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==Utility --result=TestResults/test_results_windows.xml + mono nunit/NUnit.ConsoleRunner.3.12.0/tools/nunit3-console.exe Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==Utility --result="TestResults/test_results_${{ matrix.os }}.xml" - name: Report Unit Test Results uses: MirrorNG/nunit-reporter@v1.0.11 |