File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 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 :
1718 # (https://github.com/actions/download-artifact/issues/60) so instead we get this mess:
1819 - name : Download Coverage Report
192020- if : github.event.workflow_run.conclusion == 'success'
2121 with :
2222 script : |
2323 const artifacts = await github.actions.listWorkflowRunArtifacts({
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
Original file line number Diff line number Diff line change @@ -19,4 +19,3 @@ sonar.typescript.tsconfigPath=./tsconfig.json
1919sonar.javascript.lcov.reportPaths =coverage/lcov.info
2020sonar.coverage.exclusions =spec/*.ts
2121sonar.testExecutionReportPaths =coverage/test-report.xml
22- sonar.genericcoverage.unitTestReportPaths =coverage/test-report.xml
You can’t perform that action at this time.
0 commit comments