mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-03-31 13:35:08 -05:00
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
codecov:
|
|
require_ci_to_pass: true
|
|
# https://docs.codecov.com/docs/components
|
|
component_management:
|
|
individual_components:
|
|
- component_id: backend
|
|
paths:
|
|
- src/**
|
|
- component_id: frontend
|
|
paths:
|
|
- src-ui/**
|
|
# https://docs.codecov.com/docs/pull-request-comments
|
|
# codecov will only comment if coverage changes
|
|
comment:
|
|
layout: "header, diff, components, flags, files"
|
|
require_changes: true
|
|
# https://docs.codecov.com/docs/javascript-bundle-analysis
|
|
require_bundle_changes: true
|
|
bundle_change_threshold: "50Kb"
|
|
coverage:
|
|
status:
|
|
project:
|
|
default:
|
|
# https://docs.codecov.com/docs/commit-status#threshold
|
|
threshold: 1%
|
|
patch:
|
|
default:
|
|
# For the changed lines only, target 100% covered, but
|
|
# allow as low as 75%
|
|
target: 100%
|
|
threshold: 25%
|
|
# https://docs.codecov.com/docs/javascript-bundle-analysis
|
|
bundle_analysis:
|
|
# Fail if the bundle size increases by more than 1MB
|
|
warning_threshold: "1MB"
|
|
status: true
|