Skip to content

Commit

Permalink
Add pytest plugin to [dev] and deleted from actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JosePizarro3 committed Jun 17, 2024
1 parent 16aefb2 commit f4da7e8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
pip install --upgrade pip
pip install uv
uv pip install '.[dev]' --index-url https://gitlab.mpcdf.mpg.de/api/v4/projects/2187/packages/pypi/simple --system
uv pip install pytest-cov --system
- name: mypy
run: |
python -m mypy --ignore-missing-imports --follow-imports=silent --no-strict-optional src/nomad_simulations/schema tests
Expand Down
10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,15 @@ dependencies = [
"Documentation" = "https://nomad-coe.github.io/nomad-simulations/"

[project.optional-dependencies]
dev = ["mypy==1.0.1", "ruff", "pytest", "structlog", "lxml_html_clean>=0.1.0"]
dev = [
"mypy==1.0.1",
"ruff",
"pytest",
"pytest-timeout",
"pytest-cov",
"structlog",
"lxml_html_clean>=0.1.0"
]

[tool.ruff]
# Exclude a variety of commonly ignored directories.
Expand Down

1 comment on commit f4da7e8

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/nomad_simulations/schema
   __init__.py880%1–14
   atoms_state.py1871870%19–657
   general.py72720%19–284
   model_method.py2592590%19–1185
   model_system.py2572570%19–1030
   numerical_settings.py2602600%19–900
   outputs.py89890%19–278
   physical_property.py90900%19–322
   variables.py62620%19–220
src/nomad_simulations/schema/properties
   __init__.py770%19–25
   band_gap.py48480%19–158
   band_structure.py1081080%19–329
   energies.py21210%19–78
   fermi_surface.py12120%19–51
   hopping_matrix.py24240%19–103
   permittivity.py45450%19–117
   spectral_profile.py2542540%19–618
src/nomad_simulations/schema/utils
   __init__.py110%19
   utils.py66660%20–165
TOTAL187018700% 

Tests Skipped Failures Errors Time
299 0 💤 0 ❌ 0 🔥 2.372s ⏱️

Please sign in to comment.