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 Coverage --output-on-failure
sonarqube:
name: SonarQube Trigger
runs-on: ubuntu-latest
steps:
- name: Checking out
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 }}
- name: SonarQube Scan
uses: docker://sonarsource/sonar-scanner-cli:latest
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: https://cov.rivercry.com