From 31a0a11cbfde7e8e6f1b53485c537a9755901f21 Mon Sep 17 00:00:00 2001 From: Eduward Post <38214928+eduwardpost@users.noreply.github.com> Date: Wed, 14 Feb 2024 23:34:37 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Changing=20code=20coverage=20pat?= =?UTF-8?q?h=20(#80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-nuget.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 5ae1678..f37c738 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -112,10 +112,10 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} working-directory: ./src run: | - dotnet-sonarscanner begin /k:"eduwardpost_uActivityPub" /o:"uactivitypub" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths=coverage.opencover.xml + dotnet-sonarscanner begin /k:"eduwardpost_uActivityPub" /o:"uactivitypub" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths=./**/coverage.opencover.xml dotnet build --configuration Release - dotnet test --configuration Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:ExcludeByFile="**/Program.cs" --logger trx --results-directory + dotnet test --configuration Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:ExcludeByFile="**/Program.cs" --logger trx --results-directory ./ dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"