mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
31 lines
800 B
YAML
31 lines
800 B
YAML
codecov:
|
|
require_ci_to_pass: true
|
|
# https://docs.codecov.com/docs/flags#recommended-automatic-flag-management
|
|
# Require each flag to have 1 upload before notification
|
|
flag_management:
|
|
individual_flags:
|
|
- name: backend
|
|
paths:
|
|
- src/
|
|
- name: frontend
|
|
paths:
|
|
- src-ui/
|
|
# https://docs.codecov.com/docs/pull-request-comments
|
|
# codecov will only comment if coverage changes
|
|
comment:
|
|
require_changes: true
|
|
require_bundle_changes: true
|
|
bundle_change_threshold: "1Kb"
|
|
coverage:
|
|
status:
|
|
project:
|
|
default:
|
|
# https://docs.codecov.com/docs/commit-status#threshold
|
|
threshold: 1%
|
|
patch:
|
|
default:
|
|
# For the changed lines only, target 75% covered, but
|
|
# allow as low as 50%
|
|
target: 75%
|
|
threshold: 25%
|