Repository navigation
Expand file tree
/
Copy pathcodecov.yml
More file actions
73 lines (67 loc) · 1.61 KB
/
Copy pathcodecov.yml
File metadata and controls
73 lines (67 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# see https://docs.codecov.com/docs/codecovyml-reference
fixes:
# https://docs.codecov.com/docs/fixing-paths
- "build/venv/lib/python[0-9.]+/site-packages/::python/"
- "python/sdist/build/temp_amici/CMakeFiles/amici.dir/src/::src/"
- "build/CMakeFiles/amici.dir/src/::src/"
codecov:
require_ci_to_pass: yes
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
# sbmlsuite/sbmlsuite-jax only run on pull_request when SBML-suite
# paths change, relying on carryforward otherwise; keep them out of
# the blocking check so a stale carryforward can't fail unrelated PRs.
default:
threshold: 0.15%
flags:
- python
- cpp
- cpp_python
- petab
- petab_sciml
- petab_sciml_benchmarks
sbmlsuite:
flags:
- sbmlsuite
- sbmlsuite-jax
informational: true
patch:
default:
threshold: 0.15%
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: no
ignore:
- "tests/*"
- "tests/**/*"
- "build/tests/**"
- "amici_models/**"
flags:
python:
carryforward: false
cpp:
carryforward: false
petab:
carryforward: false
sbmlsuite:
paths:
- python/sdist/amici/importers/sbml/**
- python/sdist/amici/exporters/sundials/de_export.py
carryforward: true
sbmlsuite-jax:
paths:
- python/sdist/amici/exporters/jax/**
- python/sdist/amici/sim/jax/**
carryforward: true