Skip to content

Commit

Permalink
Add sonar integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcschrg committed Nov 15, 2024
1 parent ca2c77e commit 58a4178
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test-monee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,16 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false

sonarcloud:
name: SonarQube Cloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarQube Cloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit 58a4178

Please sign in to comment.