Skip to content

Commit

Permalink
1. Changes to .codecov.yml to enable code coverage reports
Browse files Browse the repository at this point in the history
2. Changes to generate-coverage.sh for fixing errors

Fixes redhat-developer#1557
  • Loading branch information
kanchwala-yusuf committed Feb 5, 2020
1 parent 8725bb0 commit 9ea7b9d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
29 changes: 27 additions & 2 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,35 @@
codecov:
require_ci_to_pass: no

comment:
behavior: default


coverage:
status:
project:
default: off
# basic
target: auto
threshold: null
base: auto
# advanced
branches: null
if_no_uploads: error
if_not_found: success
if_ci_failed: error
only_pulls: false
flags: null
paths: null
patch:
default: off
# basic
target: auto
threshold: null
base: auto
# advanced
branches: null
if_no_uploads: error
if_not_found: success
if_ci_failed: error
only_pulls: false
flags: null
paths: null
2 changes: 1 addition & 1 deletion scripts/generate-coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ for d in $(go list ./... | grep -v vendor | grep -v tests); do
cat profile.out >> coverage.txt
rm profile.out
fi
done
done

0 comments on commit 9ea7b9d

Please sign in to comment.