Skip to content

Commit

Permalink
Fix test session dependencies not being locked (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthagen authored Jan 3, 2023
1 parent 823d259 commit e4a15fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- { nox-session: fmt_check, poetry-groups: "fmt" }
- { nox-session: lint, poetry-groups: "lint" }
# type_check needs main and test dependencies for inline type annotations.
- { nox-session: type_check, poetry-groups: "type_check,main,test" }
- { nox-session: type_check, poetry-groups: "type_check,main,dev" }
- { nox-session: docs, poetry-groups: "docs" }
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ typer = { version = "*", extras = ["all"] }
[tool.poetry.group.nox.dependencies]
nox-poetry = "*"

[tool.poetry.group.test.dependencies]
# TODO: Rename this to the "test" group when nox-poetry gains support for Poetry dependency
# groups. https://github.com/cjolowicz/nox-poetry/issues/663
[tool.poetry.group.dev.dependencies]
pytest = "*"
pytest-cov = "*"

Expand Down

0 comments on commit e4a15fe

Please sign in to comment.