diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6cb508c..0173adf 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -36,9 +36,6 @@ jobs: - name: Install SonarCloud scanner run: dotnet tool install --global dotnet-sonarscanner - - name: Install dotnet coverage - run: dotnet tool install --global dotnet-coverage - - name: Build and analyze env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any @@ -46,5 +43,5 @@ jobs: run: | dotnet-sonarscanner begin /k:"adimiko_transactioncontext" /o:"adimiko" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" dotnet build --no-incremental - dotnet-coverage collect "dotnet test" -f xml -o "coverage.xml" + dotnet test --collect "Code Coverage" dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" \ No newline at end of file