From b425907b9598309247e6fe7dd17068058bbfcab0 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Fri, 18 Nov 2022 19:47:37 +0700 Subject: [PATCH] ci: add sonarcloud job (#11856) Co-authored-by: Julien Robert --- .github/workflows/test.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b8c6f7df6c..7b240fc9fb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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