Browse Source

adjusting publish workflow

Charlie Kindel 4 years ago
parent
commit
4ee44c1695
1 changed files with 7 additions and 0 deletions
  1. 7 0
      .github/workflows/publish.yml

+ 7 - 0
.github/workflows/publish.yml

@@ -72,6 +72,13 @@ jobs:
           # This is broken - see https://github.com/brandedoutcast/publish-nuget/issues/30
           # This is broken - see https://github.com/brandedoutcast/publish-nuget/issues/30
           INCLUDE_SYMBOLS: false
           INCLUDE_SYMBOLS: false
 
 
+    - name: Install dependencies
+      run: dotnet restore
+
+    - name: Test
+      run: |
+        dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"  --settings UnitTests/coverlet.runsettings
+        mv -v UnitTests/TestResults/*/*.* UnitTests/TestResults/
       - name: Test to generate Code Coverage Report
       - name: Test to generate Code Coverage Report
         run: |
         run: |
           dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"  --settings UnitTests/coverlet.runsettings
           dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"  --settings UnitTests/coverlet.runsettings