add sonar qube
Some checks failed
ci / build (push) Failing after 30s

This commit is contained in:
2026-02-01 23:32:01 +01:00
parent 8873c4eb3c
commit 8de6b2c0ef

View File

@@ -41,17 +41,8 @@ jobs:
ctest -T Test --output-on-failure ctest -T Test --output-on-failure
ctest -T Coverage --output-on-failure ctest -T Coverage --output-on-failure
sonarqube: - name: SonarQube Scan
name: SonarQube Trigger uses: docker://sonarsource/sonar-scanner-cli:latest
runs-on: ubuntu-latest env:
steps: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Checking out SONAR_HOST_URL: https://cov.rivercry.com
uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: SonarQube Scan
uses: kitabisa/sonarqube-action@v1.2.0
with:
host: ${{ secrets.SONARQUBE_HOST }}
login: ${{ secrets.SONARQUBE_TOKEN }}