File tree Expand file tree Collapse file tree 2 files changed +47
-1
lines changed
Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 3838
3939 - name : Upload coverage
4040 uses : codecov/codecov-action@v4
41+ if : always() # Always run coverage upload even if tests fail
4142 with :
4243 file : ./coverage.xml
43- fail_ci_if_error : true
44+ fail_ci_if_error : false # Don't fail if codecov is down
45+ token : ${{ secrets.CODECOV_TOKEN }} # Required for public repos
46+ verbose : true # Optional: for debugging
47+ name : codecov-${{ matrix.python-version }} # Optional: name per Python version
4448
4549 lint :
4650 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1+ codecov :
2+ require_ci_to_pass : true
3+
4+ coverage :
5+ precision : 2
6+ round : down
7+ range : " 70...100"
8+
9+ status :
10+ project :
11+ default :
12+ target : auto
13+ threshold : 1%
14+ paths :
15+ - " src/"
16+ patch :
17+ default :
18+ target : auto
19+ threshold : 1%
20+
21+ parsers :
22+ gcov :
23+ branch_detection :
24+ conditional : yes
25+ loop : yes
26+ method : no
27+ macro : no
28+
29+ comment :
30+ layout : " reach,diff,flags,tree"
31+ behavior : default
32+ require_changes : false
33+
34+ ignore :
35+ - " tests/**"
36+ - " scripts/**"
37+ - " examples/**"
38+ - " docs/**"
39+ - " *.md"
40+ - " setup.py"
41+ - " **/__pycache__/**"
42+ - " **/.pytest_cache/**"
You can’t perform that action at this time.
0 commit comments