Skip to content

Commit

Permalink
try add pdm group for plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Sep 26, 2023
1 parent 10b2ae3 commit db2cd30
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 36 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Expand Up @@ -192,10 +192,7 @@ jobs:
- name: install deps
run: |
pdm use -f $PYTHON
pdm install -G testing
- name: install example plugin
run: pdm add ./tests/plugin
pdm install -G testing -G testing-plugin
- run: pdm run pytest ./tests/plugin
env:
Expand Down
54 changes: 30 additions & 24 deletions pdm.lock

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

19 changes: 11 additions & 8 deletions pyproject.toml
Expand Up @@ -92,14 +92,6 @@ linting = [
"ruff",
"mypy~=1.1.1",
]
testing-extra = [
# used when generate devtools docs example
"ansi2html",
"devtools",
# used in docs tests
"sqlalchemy>=2.0,<3.0",
"greenlet>=3.0.0rc3",
]
testing = [
"coverage[toml]",
"dirty-equals",
Expand All @@ -110,6 +102,17 @@ testing = [
"faker>=18.13.0",
"pytest-benchmark>=4.0.0",
]
testing-extra = [
# used when generate devtools docs example
"ansi2html",
"devtools",
# used in docs tests
"sqlalchemy>=2.0,<3.0",
"greenlet>=3.0.0rc3",
]
testing-plugin = [
"example_plugin @ {root:uri}/tests/plugin",
]
mypy = [
"mypy",
"pydantic-settings>=2.0.0",
Expand Down

0 comments on commit db2cd30

Please sign in to comment.