ci: add sonarcloud job (#11856)

Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
Jacob Gadikian
2022-11-18 13:47:37 +01:00
committed by GitHub
co-authored by Julien Robert
parent 3c565b1fd6
commit b425907b95
+13
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