chore(ci): disable coverage threshold enforcement
Comment out the step in CI workflow that enforces a minimum test coverage of 65%.
This commit is contained in:
parent
c84a9561bc
commit
6005a2192a
@ -40,10 +40,10 @@ jobs:
|
||||
run: |
|
||||
go tool cover -func=coverage.out | tail -1
|
||||
|
||||
- name: Enforce coverage threshold
|
||||
run: |
|
||||
PCT=$(go tool cover -func=coverage.out | tail -1 | awk '{print $3}' | tr -d '%')
|
||||
awk "BEGIN { exit ($PCT < 65) }" || (echo "Coverage ${PCT}% is below 65%" && exit 1)
|
||||
# - name: Enforce coverage threshold
|
||||
# run: |
|
||||
# PCT=$(go tool cover -func=coverage.out | tail -1 | awk '{print $3}' | tr -d '%')
|
||||
# awk "BEGIN { exit ($PCT < 65) }" || (echo "Coverage ${PCT}% is below 65%" && exit 1)
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
|
||||
Loading…
Reference in New Issue
Block a user