Skip to content

Commit

Permalink
Merge pull request #730 from gympass/sonar-integration
Browse files Browse the repository at this point in the history
Implementing SonarCloud integration
  • Loading branch information
rafaelcoletagympass authored Apr 30, 2024
2 parents 4e33c77 + daa9401 commit 1c9b464
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ jobs:
run: yarn lint:all
- name: Run tests
run: yarn test
- name: Run SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
14 changes: 14 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
sonar.projectName=yoga
sonar.projectKey=gympass_yoga
sonar.organization=gympass
sonar.projectVersion=1.0
sonar.host.url=https://sonarcloud.io
sonar.links.homepage=https://sonarcloud.io/project/overview?id=gympass_yoga

sonar.sources=.

sonar.exclusions=**/packages/labnative/android/app/src/**

sonar.c.file.suffixes=-
sonar.cpp.file.suffixes=-
sonar.objc.file.suffixes=-

0 comments on commit 1c9b464

Please sign in to comment.