Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Hsu <kennethhsu@gmail.com>2021-02-07 01:24:01 +0300
committerKenneth Hsu <kennethhsu@gmail.com>2021-02-07 01:26:56 +0300
commitf911417f1a9afeaae4fe5eb04f7c56ebe893d098 (patch)
tree1910db2fc6ad245aff632ef1670d851c2a5a0945 /.github
parentfd54fce809818003a6ace7318c2f8990dce15235 (diff)
Try to consolidate test steps.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/unit_tests.yml9
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