Skip to content

Commit f4417db

Browse files
committed
Mark dev dependency group as optional and update CI to use it
1 parent 7fd9efd commit f4417db

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: Install dev dependencies
8282
if: steps.poetry-dependencies-cache.outputs.cache-hit != 'true'
8383
run: |
84-
poetry install
84+
poetry install --with=dev
8585
- name: Download artifact
8686
uses: actions/download-artifact@v4
8787
with:

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ repository = "https://github.com/pytest-dev/pytest-factoryboy"
4444
[tool.poetry]
4545
packages = [{include = "pytest_factoryboy", from = "src"}]
4646

47+
[tool.poetry.group.dev]
48+
optional = true
49+
4750
[tool.poetry.group.dev.dependencies]
4851
mypy = ">=1.4.1"
4952
tox = ">=4.0.8"

0 commit comments

Comments
 (0)