Skip to content

Commit ae9e7aa

Browse files
Refactor pytest workflow: remove pip install for genbadge and update hydrantic dependency version
1 parent 8397f9a commit ae9e7aa

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎.github/workflows/pytest.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
- name: Generate coverage badge
3737
if: matrix.python-version == '3.11'
3838
run: |
39-
uv run python -m pip install -U "genbadge[coverage]"
4039
uv run genbadge coverage -i coverage.xml -o coverage-badge.svg
4140
4241
- name: Upload coverage to Codecov

‎pyproject.toml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ readme = "README.md"
66
requires-python = ">=3.10,<3.13"
77
dependencies = [
88
"egnn-pytorch==0.2.8",
9-
"hydrantic",
9+
"hydrantic==0.0.2",
1010
"mdtraj>=1.10.3",
1111
"moleculekit>=1.11.1",
1212
"openmm>=8.4.0.post2",
@@ -22,6 +22,11 @@ dependencies = [
2222
[tool.uv.sources]
2323
hydrantic = { git = "https://github.com/hummerichsander/hydrantic.git" }
2424

25+
[dependency-groups]
26+
dev = [
27+
"genbadge[coverage]",
28+
]
29+
2530
[tool.ruff]
2631
exclude = [
2732
"tests",

0 commit comments

Comments
 (0)