From 999ed4354a941cc6107305541d9c0ca69a9ff4d5 Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Fri, 25 Oct 2024 13:16:25 -0400 Subject: [PATCH] remove codecoverage --- .coveragerc | 10 ---------- .github/workflows/requirements-test.in | 1 - .github/workflows/requirements-test.txt | 10 ++++------ README.rst | 17 ----------------- doc/conf.py | 1 - 5 files changed, 4 insertions(+), 35 deletions(-) delete mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 927f4bf..0000000 --- a/.coveragerc +++ /dev/null @@ -1,10 +0,0 @@ -# .coveragerc to control coverage.py -[run] -branch = True -source = rowan - -[report] -ignore_errors = True - -[html] -directory = coverage_html_report diff --git a/.github/workflows/requirements-test.in b/.github/workflows/requirements-test.in index 2f70f1b..4bb4e69 100644 --- a/.github/workflows/requirements-test.in +++ b/.github/workflows/requirements-test.in @@ -1,4 +1,3 @@ -coverage == 7.5.3 numpy == 2.0.0 pytest == 8.2.2 pytest-cov == 5.0.0 diff --git a/.github/workflows/requirements-test.txt b/.github/workflows/requirements-test.txt index 57c8c24..174673b 100644 --- a/.github/workflows/requirements-test.txt +++ b/.github/workflows/requirements-test.txt @@ -1,10 +1,8 @@ # This file was autogenerated by uv via the following command: # uv pip compile requirements-test.in --python-version 3.9 --python-platform linux --no-build -coverage==7.5.3 - # via - # -r requirements-test.in - # pytest-cov -exceptiongroup==1.2.1 +coverage==7.6.4 + # via pytest-cov +exceptiongroup==1.2.2 # via pytest iniconfig==2.0.0 # via pytest @@ -24,7 +22,7 @@ pytest-cov==5.0.0 # via -r requirements-test.in scipy==1.13.1 # via -r requirements-test.in -tomli==2.0.1 +tomli==2.0.2 # via # coverage # pytest diff --git a/README.rst b/README.rst index d541195..7905e19 100644 --- a/README.rst +++ b/README.rst @@ -6,8 +6,6 @@ rowan :local: |ReadTheDocs| -|CircleCI| -|Codecov| |PyPI| |conda-forge| |Zenodo| @@ -15,10 +13,6 @@ rowan .. |ReadTheDocs| image:: https://readthedocs.org/projects/rowan/badge/?version=latest :target: http://rowan.readthedocs.io/en/latest/?badge=latest -.. |CircleCI| image:: https://circleci.com/gh/glotzerlab/rowan.svg?style=svg - :target: https://circleci.com/gh/glotzerlab/rowan -.. |Codecov| image:: https://codecov.io/gh/glotzerlab/rowan/branch/master/graph/badge.svg - :target: https://codecov.io/gh/glotzerlab/rowan .. |PyPI| image:: https://img.shields.io/pypi/v/rowan.svg :target: https://pypi.org/project/rowan/ .. |conda-forge| image:: https://img.shields.io/conda/vn/conda-forge/rowan.svg @@ -130,17 +124,6 @@ To run the packaged unit tests, execute the following line from the root of the python -m unittest discover tests -To check test coverage, make sure the coverage module is installed: - -.. code-block:: bash - - pip install coverage - -and then run the packaged unit tests with the coverage module: - -.. code-block:: bash - - coverage run -m unittest discover tests Running Benchmarks ------------------ diff --git a/doc/conf.py b/doc/conf.py index 590799d..4034c48 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -38,7 +38,6 @@ "sphinx.ext.intersphinx", "sphinx.ext.doctest", "sphinx.ext.todo", - "sphinx.ext.coverage", "sphinx.ext.mathjax", ]