mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
d123fe4785
* [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.
39 lines
580 B
YAML
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 |