authelia/.codecov.yml
Amir Zarrinkafsh d123fe4785
[CI] Add Codecov support (#1065)
* [CI] Add Codecov support

* [CI] Capture backend coverage from integration tests

* [CI] Remove unnecessary artifacts for coverage build

* [CI] Only run coverage elements where necessary

* [CI] Simplify post-command hook

* Fix yarn dependencies and collect coverage

* [CI] Include cmd/authelia/ path in coverage

* [CI] Exclude internal/suites/ in coverage

Closes #1061.
2020-06-05 10:43:19 +10:00

39 lines
580 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:
flags:
- backend
frontend:
flags:
- frontend
flags:
backend:
paths:
- "cmd/authelia/"
- "internal/"
- "!internal/suites/"
frontend:
paths:
- "web/"
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no