authelia/.codecov.yml
Amir Zarrinkafsh b0fbf2c4cc
[CI] Exclude non-coverage files from codecov upload (#1495)
* [CI] Exclude non-coverage files from codecov upload

* Ignore React serviceWorker.ts for coverage

As we do not utilise service workers in React gives more accurate coverage percentages when ignored.
2020-11-30 21:12:46 +11:00

44 lines
658 B
YAML

codecov:
require_ci_to_pass: yes
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: no
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default: off
backend:
base: auto
flags:
- backend
frontend:
base: auto
flags:
- frontend
flags:
backend:
paths:
- "cmd/authelia/"
- "internal/"
- "!internal/suites/"
frontend:
paths:
- "web/"
ignore:
- "web/src/serviceWorker.ts"
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no