Skip to content

Commit e25ad65

Browse files
disable sonarscanner to verify tests
1 parent da766d6 commit e25ad65

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/CodeQuality.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ jobs:
3838
SONAR_SCANNER_OPTS: "-Xmx4096m"
3939
run: |
4040
dotnet tool install --global dotnet-sonarscanner
41-
dotnet sonarscanner begin /k:"STARIONGROUP_SysML2.NET" /o:"stariongroup" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="./CoverageResults/coverage.opencover.xml"
41+
# dotnet sonarscanner begin /k:"STARIONGROUP_SysML2.NET" /o:"stariongroup" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="./CoverageResults/coverage.opencover.xml"
4242

4343
- name: Build
4444
run: dotnet build --no-restore /p:ContinuousIntegrationBuild=true
4545

4646
- name: Run Tests and Compute Coverage
4747
run: dotnet test SysML2.NET.sln --filter Category!="Integration" --no-restore --no-build --verbosity quiet /p:CollectCoverage=true /p:CoverletOutput="../CoverageResults/" /p:MergeWith="../CoverageResults/coverage.json" /p:CoverletOutputFormat=\"opencover,json\" -- RunConfiguration.TestSessionTimeout=300000
4848

49-
- name: Sonarqube end
50-
run: dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
51-
env:
52-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
# - name: Sonarqube end
50+
# run: dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
51+
# env:
52+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)