Skip to content

Commit

Permalink
mark poetry groups of dev and lint as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Jun 12, 2024
1 parent 3cf7d84 commit d49f40e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/api-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
run: poetry check -C api

- name: Install dependencies
run: poetry install -C api
run: poetry install -C api --with dev

- name: Run Unit tests
run: poetry run -C api bash dev/pytest/pytest_unit_tests.sh
Expand Down
5 changes: 5 additions & 0 deletions api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ google-cloud-aiplatform = "1.49.0"
vanna = {version = "0.5.5", extras = ["postgres", "mysql", "clickhouse", "duckdb"]}
kaleido = "0.2.1"

[tool.poetry.group.dev]
optional = true

[tool.poetry.group.dev.dependencies]
coverage = "~7.2.4"
Expand All @@ -187,6 +189,9 @@ pytest-benchmark = "~4.0.0"
pytest-env = "~1.1.3"
pytest-mock = "~3.14.0"

[tool.poetry.group.lint.dependencies]
optional = true

[tool.poetry.group.lint.dependencies]
ruff = "~0.4.8"
dotenv-linter = "~0.5.0"
Expand Down

0 comments on commit d49f40e

Please sign in to comment.