diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 4d17f98..2aeccc5 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -63,14 +63,10 @@ jobs: - name: Build run: dotnet build NetSdrClient.sln -c Release --no-restore - #- name: Tests with coverage (OpenCover) - # run: | - # dotnet test NetSdrClientAppTests/NetSdrClientAppTests.csproj -c Release --no-build ` - # /p:CollectCoverage=true ` - # /p:CoverletOutput=TestResults/coverage.xml ` - # /p:CoverletOutputFormat=opencover - # shell: pwsh - # 3) END: SonarScanner + - name: Tests with coverage (OpenCover) + shell: pwsh + run: dotnet test NetSdrClientAppTests/NetSdrClientAppTests.csproj -c Release --no-build /p:CollectCoverage=true /p:CoverletOutput=TestResults/coverage.xml /p:CoverletOutputFormat=opencover + - name: SonarScanner End run: dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" shell: pwsh diff --git a/NetSdrClientAppTests/NetSdrClientAppTests.csproj b/NetSdrClientAppTests/NetSdrClientAppTests.csproj index 3cbc46a..eb99533 100644 --- a/NetSdrClientAppTests/NetSdrClientAppTests.csproj +++ b/NetSdrClientAppTests/NetSdrClientAppTests.csproj @@ -11,6 +11,10 @@ + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + diff --git a/README.md b/README.md index bb24f64..12fad0b 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ https://github.com/friezze/ReengineeringCourse/commit/2534516c319a38d4aecd5d70a4 До змін ![alt text](image-2.png) Після +![alt text](image-3.png) +Може здатися дивним що їх стало більше але скоріше за все це тому що пофіксився білдер через зміни в які я лив в мейн і мерджив в гілку але сонар аналізував пуши в мейн а тік злиття. Але у будьякому випадку 8 фіксед. Цей репозиторій використовується для курсу **реінжиніринг ПЗ**. diff --git a/image-3.png b/image-3.png new file mode 100644 index 0000000..d50e72f Binary files /dev/null and b/image-3.png differ