Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put sonar analysis parameters in the github action parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
flo-dup committed Nov 29, 2024
1 parent 079c3c2 commit 2632a26
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -44,7 +44,12 @@ jobs:
npm run build
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@v3.0.0
uses: SonarSource/sonarcloud-github-action@v3.1.0
with:
args: >
-Dsonar.organization=powsybl-ci-github
-Dsonar.projectKey=powsybl_powsybl-network-viewer
-Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1 change: 0 additions & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
sonar.projectKey=powsybl_powsybl-network-viewer
sonar.organization=powsybl-ci-github
sonar.projectBaseDir=src
sonar.javascript.lcov.reportPaths=./coverage/lcov.info

0 comments on commit 2632a26

Please sign in to comment.