diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f3bb010..65540cf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -46,8 +46,3 @@ jobs: MPLBACKEND: Agg run: | find examples -name "*.py" -print0 | xargs -0 -n1 python - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} - verbose: true diff --git a/pyproject.toml b/pyproject.toml index 410552f..c03d262 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,9 +38,7 @@ dev = [ "ruff>=0.10.0", "mypy>=1.5.0", "typing-extensions>=4.0.0", - "coverage[toml]>=5.5.0", "pytest>=6.2.4", - "pytest-cov>=4.0.0", "matplotlib>=3.4.0", "sphinx>=7.0", "sphinx-book-theme>=1.0", @@ -115,25 +113,6 @@ ignore_missing_imports = true module = "pyscf.*" ignore_missing_imports = true -[tool.coverage.run] -branch = true -source = [ - "dyson", -] - -[tool.coverage.report] -exclude_lines = [ - "pragma: no cover", - "def __repr__", - "def __str__", - "raise NotImplementedError", - "raise util.ModelNotImplemented", - "if __name__ == .__main__.:", -] - -[tool.coverage.html] -directory = "cov_html" - [tool.pytest.ini_options] filterwarnings = [ "ignore::DeprecationWarning", @@ -142,4 +121,4 @@ testpaths = [ "dyson", "tests", ] -addopts = "--doctest-modules --cov=dyson" +addopts = "--doctest-modules"