Skip to content

Commit

Permalink
feat(sonarqube): self Hosted + Sonarlint (#246)
Browse files Browse the repository at this point in the history
* feat(sonarqube): self Hosted + Sonarlint

* fix(fix): sonarlint connected mode
  • Loading branch information
cgilbe27 authored Nov 3, 2023
1 parent 679503e commit c499aa9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/test-ts-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,14 @@ jobs:
- name: Jest Coverage Comment
uses: MishaKav/jest-coverage-comment@main

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}

- name: SonarQube Quality Gate
uses: sonarsource/sonarqube-quality-gate-action@master
timeout-minutes: 5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sonarlint.connectedMode.project": {
"connectionId": "https-sonarqube-nibiru-fi-",
"projectKey": "NibiruChain_ts-sdk_AYuRILBdmUr0onRz5AJl"
}
}

1 comment on commit c499aa9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines Statements Branches Functions
Coverage: 96%
96.62% (1260/1304) 99.24% (527/531) 90.76% (295/325)

Please sign in to comment.