File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -55,13 +55,14 @@ The report options below output to files without showing anything on the termina
55
55
--cov-report xml
56
56
--cov-report json
57
57
--cov-report markdown
58
- --cov-report markdown-append
58
+ --cov-report markdown-append:cov-append.md
59
59
--cov-report lcov
60
60
--cov-report annotate
61
61
--cov=myproj tests/
62
62
63
63
The output location for each of these reports can be specified. The output location for the XML, JSON, Markdown and LCOV
64
- report is a file. Where as the output location for the HTML and annotated source code reports are
64
+ report is a file. markdown-append option is specially useful for appending the report to an existing file. Example for GitHub Actions:
65
+ --cov-report=markdown-append:${GITHUB_STEP_SUMMARY}. Where as the output location for the HTML and annotated source code reports are
65
66
directories::
66
67
67
68
pytest --cov-report html:cov_html
You can’t perform that action at this time.
0 commit comments