Skip to content

Commit ef34c39

Browse files
committed
add codecov
1 parent 415e99e commit ef34c39

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/setup.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,16 @@ You can also run only specific tests using the following commands (examples):
175175
# run specific tests with pytest
176176
pytest -m "not repro and (not litert and not gpu)" -n auto
177177
178+
Calculate code coverage
179+
^^^^^^^^^^^
180+
181+
To calculate code coverage, use the following command:
182+
183+
.. code-block:: bash
184+
185+
# run all tests with coverage for Python 3.12
186+
tox -e py312-coverage
187+
178188
Deploy package to PyPI
179189
^^^^^^^^^^^
180190

0 commit comments

Comments
 (0)