Skip to content

Commit

Permalink
Merge pull request #8656 from LedgerHQ/support/sonarcloud-migration
Browse files Browse the repository at this point in the history
ci: migrate to sonarcloud
  • Loading branch information
angusbayley authored Dec 12, 2024
2 parents d2b4cb5 + 1beac31 commit b1c39af
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: |
cat apps/ledger-live-desktop/coverage/lld-sonar-executionTests-report.xml > ./lld-sonar-executionTests-report.xml
cat apps/ledger-live-mobile/coverage/llm-sonar-executionTests-report.xml > ./llm-sonar-executionTests-report.xml
- uses: sonarsource/sonarqube-scan-action@master
- name: SonarQube Scan
uses: sonarsource/sonarcloud-github-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
9 changes: 7 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
sonar.projectKey=LedgerHQ_ledger-live_AZKKhf387xkLuPYwRra5
sonar.projectKey=LedgerHQ_ledger-live
sonar.projectName=ledger-live
sonar.sourceEncoding=UTF-8
sonar.sources=apps,libs
sonar.exclusions=.pnpm/**,**/node_modules/**,**/*.java,**/.turbo,**/.webpack/**/*,**/jest.config.js,**/jest.config.ts,**/jest-setup.js,**/jestSetup.js,**/jest-global-setup.js,**/please-add-coverage.test.ts,**/jest.integ.config.js,**/deeplinks-test-page.html,**/babel.config.js,**/detox.config.js,**/metro.config.js,apps/ledger-live-mobile/react-native.config,**/fileMock.js,**/jest.polyfills.js,apps/ledger-live-desktop/tests/**,apps/ledger-live-mobile/tests/**,apps/ledger-live-desktop/scripts/**,**/__mocks__/**,**/__tests__/**,**/e2e/**,**/types.ts,**/*.esbuild.js,**/*.mjs,**/constants.ts,**/enums.ts,apps/ledger-live-desktop/tools/**
sonar.javascript.lcov.reportPaths=lcov.info
sonar.testExecutionReportPaths=lld-sonar-executionTests-report.xml,llm-sonar-executionTests-report.xml
sonar.typescript.tsconfigPaths=tsconfig.base.json,**/tsconfig.json
sonar.typescript.tsconfigPaths=tsconfig.base.json,apps/**/tsconfig.json
sonar.organization=ledger
sonar.javascript.node.maxspace=16384
sonar.c.file.suffixes=-
sonar.cpp.file.suffixes=-
sonar.objc.file.suffixes=-

0 comments on commit b1c39af

Please sign in to comment.