Skip to content

Commit

Permalink
avoid leaving plugin in pdm cache
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Sep 26, 2023
1 parent 10b2ae3 commit 60cac46
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 30 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -201,6 +201,11 @@ jobs:
env:
TEST_PLUGIN: 1

# uninstalling is necessary to avoid creating a pdm cache shared with other jobs
# which includes the plugin
- name: uninstall example plugin
run: pdm remove ./tests/plugin

test-mypy:
name: mypy ${{ matrix.mypy-version }} / ${{ matrix.python-version }}
runs-on: ubuntu-latest
Expand Down
44 changes: 22 additions & 22 deletions pdm.lock

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

16 changes: 8 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,14 @@ 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",
]
mypy = [
"mypy",
"pydantic-settings>=2.0.0",
Expand Down

0 comments on commit 60cac46

Please sign in to comment.