chore(ci): enable SonarQube #441

Merged
luke merged 4 commits from luke-patch-1 into main 2026-04-17 18:03:16 +00:00
Showing only changes of commit 197e4f7886 - Show all commits

View File

@@ -53,16 +53,16 @@ jobs:
run: |
uv run coverage run -m pytest -v --junitxml=testresults.xml
uv run coverage report
# sed -i 's@${{ gitea.workspace }}@/github/workspace@g' coverage.xml
sed -i 's@${{ gitea.workspace }}@/github/workspace@g' coverage.xml
- name: Minimize uv cache
run: uv cache prune --ci
# - name: SonarQube Scan
# uses: SonarSource/sonarqube-scan-action@v5.2.0
# env:
# SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }}
# SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v7.1.0
env:
SONAR_HOST_URL: ${{ secrets.SONAR_URL }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# - name: Set up environment for Snyk
# run: |