add sonar qube
This commit is contained in:
@@ -40,8 +40,18 @@ jobs:
|
|||||||
cd build
|
cd build
|
||||||
ctest -T Test --output-on-failure
|
ctest -T Test --output-on-failure
|
||||||
ctest -T Coverage --output-on-failure
|
ctest -T Coverage --output-on-failure
|
||||||
- name: SonarQube Scan
|
|
||||||
uses: kitabisa/sonarqube-action@v1.2.0
|
sonarqube:
|
||||||
with:
|
name: SonarQube Trigger
|
||||||
host: ${{ secrets.SONARQUBE_HOST }}
|
runs-on: ubuntu-latest
|
||||||
login: ${{ secrets.SONARQUBE_TOKEN }}
|
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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user