Skip to content

Commit 98d691d

Browse files
committed
Add sonar qube analisys. to test code coverage
1 parent f578bcc commit 98d691d

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@
1313

1414
# Jazzy generated folders
1515
/docs/
16-
/build/
16+
/build/
17+
18+
# SonarQube
19+
.scannerwork/

sonar.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#! /bin/bash
2+
3+
sonar-scanner \
4+
-X \
5+
-Dsonar.projectKey=DataStructuresKey \
6+
-Dsonar.sources=. \
7+
-Dsonar.host.url=http://localhost:9000 \
8+
-Dsonar.login=ee4b2751f7ecbf413cd2e67ab8372419fadb2a79

0 commit comments

Comments
 (0)