add sonarqube

pull/114/head
Alya Sirko 2022-09-15 00:00:17 +03:00
parent 0023016a72
commit 8c16016ac8
1 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,11 @@ steps:
- name: Run Tests
commands:
- ./ci.py --ci-run-tests
- flutter test --machine --coverage > tests.output
- sonar-scanner -Dsonar.projectKey=SelfPrivacy-Flutter-App -Dsonar.sources=. -Dsonar.host.url=http://analyzer.lan:9000 -Dsonar.login="$SONARQUBE_TOKEN"
environment:
SONARQUBE_TOKEN:
from_secret: SONARQUBE_TOKEN
- name: Build Linux Target
commands: