Pull request #13: Sonar scan 💖
Merge in RR/fb-detr from sonar-scan to master
Squashed commit of the following:
commit b5ea19f16e198071db9bc6b4864d8b7789884a25
Author: Julius Unverfehrt <Julius.Unverfehrt@iqser.com>
Date: Mon Feb 21 17:36:02 2022 +0100
💖
commit e1554c1f874a7af0ae3e6f480ca1db05e62a3a0b
Author: Julius Unverfehrt <Julius.Unverfehrt@iqser.com>
Date: Mon Feb 21 16:54:56 2022 +0100
sonarscan WIP
This commit is contained in:
parent
662d7e95f4
commit
05a28e4658
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
.vscode/
|
||||
*.h5
|
||||
/venv/
|
||||
.idea/
|
||||
|
||||
@ -7,18 +7,12 @@ python3 -m venv build_venv
|
||||
source build_venv/bin/activate
|
||||
python3 -m pip install --upgrade pip
|
||||
|
||||
echo "dev setup for unit test and coverage"
|
||||
echo "dev setup for unit test and coverage 💖"
|
||||
|
||||
pip install -e .
|
||||
pip install -e incl/detr
|
||||
pip install -r requirements.txt
|
||||
|
||||
|
||||
echo "DVC pull step"
|
||||
dvc pull
|
||||
|
||||
echo "coverage report generation"
|
||||
coverage report -m
|
||||
coverage xml
|
||||
|
||||
SERVICE_NAME=$1
|
||||
|
||||
echo "dependency-check:aggregate"
|
||||
@ -40,7 +34,7 @@ then
|
||||
-Dsonar.dependencyCheck.xmlReportPath=reports/dependency-check-report.xml \
|
||||
-Dsonar.dependencyCheck.htmlReportPath=reports/dependency-check-report.html \
|
||||
-Dsonar.python.coverage.reportPaths=reports/coverage.xml
|
||||
|
||||
|
||||
else
|
||||
echo "Sonar Scan for PR with key1: ${bamboo_repository_pr_key}"
|
||||
/usr/bin/sonar-scanner/bin/sonar-scanner \
|
||||
|
||||
@ -13,4 +13,4 @@ dvc[ssh]
|
||||
frozendict==2.3.0
|
||||
waitress==2.0.0
|
||||
envyaml==1.10.211231
|
||||
# PyYAML==6.0
|
||||
dependency-check==0.6.*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user