mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-11 18:46:55 +08:00
46 lines
761 B
ReStructuredText
46 lines
761 B
ReStructuredText
CoverageCollection
|
|
##################
|
|
|
|
collect code coverage data (incl. branch coverage)
|
|
with `pytest`/`pytest-cov`/`coverage.py` using a single version of Python (latest). It generates HTML and Cobertura
|
|
(XML)reports, upload the HTML report as an artifact, and upload the test results to Codecov and Codacy. Configuration
|
|
options to `pytest` and `coverage.py` should be given via section `[tool.pytest.ini_options]` and `[tool.coverage.*]`
|
|
in a `pyproject.toml` file.
|
|
|
|
Instantiation
|
|
*************
|
|
|
|
Simple Example
|
|
==============
|
|
|
|
.. code-block:: yaml
|
|
|
|
TBD
|
|
|
|
Complex Example
|
|
===============
|
|
|
|
|
|
|
|
.. code-block:: yaml
|
|
|
|
TBD
|
|
|
|
Template Parameters
|
|
*******************
|
|
|
|
TBD 1
|
|
=====
|
|
|
|
TBD
|
|
|
|
TBD 1
|
|
=====
|
|
|
|
TBD
|
|
|
|
Template Results
|
|
****************
|
|
|
|
*None*
|