Skip to content

Commit 88f5ea6

Browse files
authored
Tweak sonarqube run (matrix-org#2339)
1 parent ac5fee0 commit 88f5ea6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/sonarqube.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
sonarqube:
99
name: SonarQube
1010
runs-on: ubuntu-latest
11+
if: github.event.workflow_run.conclusion == 'success'
1112
steps:
1213
- uses: actions/checkout@v2
1314
with:
@@ -17,7 +18,6 @@ jobs:
1718
# (https://github.com/actions/download-artifact/issues/60) so instead we get this mess:
1819
- name: Download Coverage Report
1920
uses: actions/[email protected]
20-
if: github.event.workflow_run.conclusion == 'success'
2121
with:
2222
script: |
2323
const artifacts = await github.actions.listWorkflowRunArtifacts({
@@ -39,7 +39,6 @@ jobs:
3939
4040
- name: Extract Coverage Report
4141
run: unzip -d coverage coverage.zip && rm coverage.zip
42-
if: github.event.workflow_run.conclusion == 'success'
4342

4443
- name: SonarCloud Scan
4544
uses: SonarSource/sonarcloud-github-action@master

sonar-project.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ sonar.typescript.tsconfigPath=./tsconfig.json
1919
sonar.javascript.lcov.reportPaths=coverage/lcov.info
2020
sonar.coverage.exclusions=spec/*.ts
2121
sonar.testExecutionReportPaths=coverage/test-report.xml
22-
sonar.genericcoverage.unitTestReportPaths=coverage/test-report.xml

0 commit comments

Comments
 (0)