Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
23 changes: 1 addition & 22 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -142,4 +121,4 @@ testpaths = [
"dyson",
"tests",
]
addopts = "--doctest-modules --cov=dyson"
addopts = "--doctest-modules"