This commit is contained in:
Alexander Tomokhov 2024-04-17 00:26:14 +04:00
parent 7935766ec4
commit f53ce42f63
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ steps:
- name: Run Tests and Generate Coverage Report
commands:
- VM_TEST_OUT_PATH="$(nix build .#checks.x86_64-linux.default --no-link --print-out-paths --print-build-logs)"
- sonar-scanner -Dsonar.projectKey=SelfPrivacy-REST-API -Dsonar.sources="$PWD" -Dsonar.host.url=http://analyzer.lan:9000 -Dsonar.login="$SONARQUBE_TOKEN" -Dsonar.python.coverage.reportPaths="$VM_TEST_OUT_PATH/coverage.xml" -Dsonar.python.version=3.10
- sonar-scanner -Dsonar.projectKey=SelfPrivacy-REST-API -Dsonar.sources=selfprivacy_api -Dsonar.host.url=http://analyzer.lan:9000 -Dsonar.login="$SONARQUBE_TOKEN" -Dsonar.python.coverage.reportPaths="$VM_TEST_OUT_PATH/coverage.xml" -Dsonar.python.version=3.10
environment:
SONARQUBE_TOKEN:
from_secret: SONARQUBE_TOKEN