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-08 02:40:31 +0300
committerKenneth Hsu <kennethhsu@gmail.com>2021-02-08 02:40:31 +0300
commitc6c0c8842200c2ef14587ed09244af47da14dba9 (patch)
treece1b0c77a801104bb5cbac2d8b954506777c73b8 /.github
parent50e6855fbc9d7ffced8e9d947893e4ab786cc53e (diff)
Consolidate Linux and macOS unit test steps.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yml10
1 files changed, 2 insertions, 8 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index fb4f81ebb..d50416735 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -35,8 +35,8 @@ 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 (Linux and macOS)
+ if: matrix.os != 'windows-latest'
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
@@ -47,12 +47,6 @@ jobs:
nuget install NUnit.Runners -Version 3.12.0 -OutputDirectory nunit
nunit/NUnit.ConsoleRunner.3.12.0/tools/nunit3-console.exe Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==Utility
- - name: Run Unit Tests (macOS)
- if: matrix.os == 'macos-latest'
- 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
-
ui_tests:
name: UI tests
runs-on: ubuntu-latest