Fixing test coverage for the common

This commit is contained in:
Zoe Roux
2021-07-13 17:43:17 +02:00
parent 123898dc98
commit 31da4bb692
6 changed files with 13 additions and 10 deletions
+3 -1
View File
@@ -21,7 +21,9 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore '-p:SkipWebApp=true;SkipTranscoder=true'
run: |
dotnet build --no-restore '-p:SkipWebApp=true;SkipTranscoder=true' -p:CopyLocalLockFileAssemblies=true
cp ./Kyoo.Common/bin/Debug/net5.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll ./Kyoo.Tests/bin/Debug/net5.0/
- name: Test
run: dotnet test --no-build '-p:CollectCoverage=true;CoverletOutputFormat=opencover'
env: