Skip to content

Commit

Permalink
add nnpdf dependency to 'test' group
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Oct 20, 2024
1 parent 611f425 commit 2485911
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
virtualenvs-create: false
installer-parallel: true
- name: Install dependencies
run: poetry install --no-interaction --no-root --with test -E nnpdf
run: poetry install --no-interaction --no-root --with test
- name: Install project
# it is required to repeat extras, otherwise they will be removed from
# the environment
run: poetry install --no-interaction -E nnpdf
run: poetry install --no-interaction
- name: Install task runner
run: pip install poethepoet
- name: Lint with pylint
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ pandas = "^2.1"
rich = "^12.5.1"
click = "^8.0.4"
tomli = "^2.0.1"
nnpdf = { git = "https://github.com/NNPDF/nnpdf", optional = true}
lhapdf-management = { version = "^0.5", optional = true }

[tool.poetry.group.docs]
Expand All @@ -51,6 +50,7 @@ setuptools = "^69.0"
optional = true

[tool.poetry.group.test.dependencies]
nnpdf = { git = "https://github.com/NNPDF/nnpdf" } # needed for test_utils
pytest = "^7.1.3"
pytest-cov = "^4.0.0"
pytest-env = "^0.6.2"
Expand Down

0 comments on commit 2485911

Please sign in to comment.