mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-13 18:43:53 +00:00
Add codecov config
This commit is contained in:
parent
f149ab8d2d
commit
3a1a666aff
2 changed files with 26 additions and 1 deletions
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
|
|
@ -47,7 +47,8 @@ jobs:
|
|||
- uses: codecov/codecov-action@v1
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
file: ./coverage.xml
|
||||
file: coverage.xml
|
||||
flags: unittests
|
||||
yml: codecov.yml
|
||||
name: py-${{ matrix.python-version }}-${{ matrix.os }}
|
||||
fail_ci_if_error: true
|
||||
|
|
|
|||
24
codecov.yaml
Normal file
24
codecov.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
codecov:
|
||||
require_ci_to_pass: yes
|
||||
branch: dev-3.x
|
||||
|
||||
coverage:
|
||||
precision: 2
|
||||
round: down
|
||||
range: "80...100"
|
||||
|
||||
parsers:
|
||||
gcov:
|
||||
branch_detection:
|
||||
conditional: yes
|
||||
loop: yes
|
||||
method: no
|
||||
macro: no
|
||||
|
||||
comment:
|
||||
layout: "reach,diff,flags,tree"
|
||||
behavior: default
|
||||
require_changes: no
|
||||
branches:
|
||||
- dev-3.x
|
||||
after_n_builds: 6
|
||||
Loading…
Add table
Add a link
Reference in a new issue