File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,11 +11,12 @@ plugins = Cython.Coverage
1111core = ctrace
1212branch = False
1313relative_files = True
14- # Omits specific definition files that causes plugin errors
14+ # Cython.Coverage cannot build a FileReporter for .pxd/.pxi (not standalone
15+ # translation units). Pattern in [run], not an enumeration: a new file of
16+ # either kind otherwise breaks `coverage html`. Must be [run], not [report].
1517omit =
16- */windll.pxd
17- */_lib/windll.pxd
18- */_lib/utils.pxd
18+ */*.pxd
19+ */*.pxi
1920
2021[report]
2122show_missing = true
Original file line number Diff line number Diff line change @@ -542,13 +542,16 @@ jobs:
542542 echo "=== Combining coverage data ==="
543543 coverage combine --rcfile=./.coveragerc --keep .coverage.*
544544
545- # Generate reports
545+ - name : Generate coverage reports
546+ run : |
546547 echo ""
547548 echo "=== Generating HTML, XML, and text reports ==="
548549 coverage html --rcfile=./.coveragerc
549550 coverage xml --rcfile=./.coveragerc -o coverage.xml
550551 coverage report --rcfile=./.coveragerc
551552
553+ - name : Stage coverage artifacts
554+ run : |
552555 # Prepare for upload
553556 mkdir -p ./docs/coverage
554557 mv htmlcov/* ./docs/coverage/
You can’t perform that action at this time.
0 commit comments