File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,11 @@ jobs:
61
61
- name : " Combine coverage"
62
62
run : |
63
63
python -Im coverage combine
64
- python -Im coverage html --skip-covered --skip-empty
64
+ python -Im coverage html
65
65
python -Im coverage json
66
66
67
67
# Report and write to summary.
68
- python -Im coverage report --skip-covered --skip-empty | sed 's/^/ /' >> $GITHUB_STEP_SUMMARY
68
+ python -Im coverage report --format=markdown >> $GITHUB_STEP_SUMMARY
69
69
70
70
export TOTAL=$(python -c "import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])")
71
71
echo "total=$TOTAL" >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -106,6 +106,9 @@ parallel = true
106
106
source_pkgs = [" cattrs" , " tests" ]
107
107
108
108
[tool .coverage .report ]
109
+ show_missing = true
110
+ skip_covered = true
111
+ skip_empty = true
109
112
exclude_also = [
110
113
" @overload" ,
111
114
" if TYPE_CHECKING:" ,
You can’t perform that action at this time.
0 commit comments