Kaynağa Gözat

Re-enable SonarCloud scanning.

Token is set up, and scanning from SonarCloud working for this repository.
Jason Rumney 5 yıl önce
ebeveyn
işleme
fe0d290a16
1 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. 5 5
      .github/workflows/tests.yml

+ 5 - 5
.github/workflows/tests.yml

@@ -26,8 +26,8 @@ jobs:
         run: pytest --cov=. --cov-config=.coveragerc --cov-report xml:coverage.xml
       - name: Track master branch
         run: git fetch --no-tags https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY +refs/heads/main:refs/remotes/origin/main
-#      - name: SonarCloud scan
-#        uses: sonarsource/sonarcloud-github-action@master
-#        env:
-#          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-#          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
+      - name: SonarCloud scan
+        uses: sonarsource/sonarcloud-github-action@master
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}