We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4b1b7cc + 6c2fb5b commit 564647bCopy full SHA for 564647b
scripts/ci/codeclimate_upload.sh
@@ -5,6 +5,8 @@ curl -Ls https://codeclimate.com/downloads/test-reporter/test-reporter-latest-li
5
chmod +x ./cc-test-reporter
6
./cc-test-reporter --version
7
8
+COVERAGE_PREFIX=${COVERAGE_PREFIX:-github.com/flant/shell-operator}
9
+
10
coverage_files=$(find $COVERAGE_DIR -name '*.out')
11
for file in ${coverage_files[@]}
12
do
@@ -13,7 +15,7 @@ do
13
15
./cc-test-reporter format-coverage \
14
16
-t=gocov \
17
-o="cc-coverage/$file_name.codeclimate.json" \
- -p=github.com/flant/shell-operator \
18
+ -p=${COVERAGE_PREFIX} \
19
"$file"
20
done
21
0 commit comments