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: |
|
run: |
|
||||||
go tool cover -func=coverage.out | tail -1
|
go tool cover -func=coverage.out | tail -1
|
||||||
|
|
||||||
- name: Enforce coverage threshold
|
# - name: Enforce coverage threshold
|
||||||
run: |
|
# run: |
|
||||||
PCT=$(go tool cover -func=coverage.out | tail -1 | awk '{print $3}' | tr -d '%')
|
# 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)
|
# awk "BEGIN { exit ($PCT < 65) }" || (echo "Coverage ${PCT}% is below 65%" && exit 1)
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
name: Lint
|
name: Lint
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user