Skip to content

Commit

Permalink
chore(sonar): configure sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrFLEURY committed Sep 11, 2024
1 parent 55f5036 commit f9dbb32
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7,286 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/sonar.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Sonarqube scan

on: push
on:
push:
branches:
- '**'
pull_request:
types: [opened, synchronize, reopened]

jobs:
backend_scan:
Expand Down Expand Up @@ -96,11 +101,11 @@ jobs:
flutter test --machine --coverage > tests.output
- name: Sonar-scanner
env:
SONAR_SCANNER_VER: sonar-scanner-cli-4.8.0.2856-linux
SONAR_SCANNER_PATH: sonar-scanner-4.8.0.2856-linux/bin
SONAR_SCANNER_VER: sonar-scanner-cli-6.0.0.4432-linux
SONAR_SCANNER_PATH: sonar-scanner-6.0.0.4432-linux/bin
run: |
wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.8.0.2856-linux.zip
unzip sonar-scanner-cli-4.8.0.2856-linux.zip
wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.0.0.4432-linux.zip
unzip sonar-scanner-cli-6.0.0.4432-linux.zip
cd yaki_mobile
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ android/key.properties
yaki_mobile/assets/cer/*.cer
target/
yaki_backend/.vscode/settings.json

yaki_admin/package-lock.json
Loading

0 comments on commit f9dbb32

Please sign in to comment.