ci: add sonarcloud job (#11856)

Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
Jacob Gadikian 2022-11-18 19:47:37 +07:00 committed by GitHub
parent 3c565b1fd6
commit b425907b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,6 +171,19 @@ jobs:
file: ./coverage.txt
if: env.GIT_DIFF
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
test-rosetta:
runs-on: ubuntu-latest
timeout-minutes: 30