File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,13 @@ jobs:
19
19
- uses : actions/setup-python@v5
20
20
with :
21
21
python-version : ${{ matrix.py }}
22
- - name : " Install requirements"
23
- run : |
24
- python -m pip install -r requirements-dev.txt
22
+ - name : Setup PDM
23
+ uses : pdm-project/setup-pdm@v4
24
+ - name : Install dependencies
25
+ run : pdm install
25
26
- name : " Run pytest"
26
27
run : |
27
- pytest
28
+ pdm run pytest
28
29
29
30
check-typing :
30
31
runs-on : ubuntu-latest
33
34
- uses : actions/setup-python@v5
34
35
with :
35
36
python-version : " 3.9"
36
- - run : pip install mypy
37
- - run : mypy --install-types --non-interactive
37
+ - name : Setup PDM
38
+ uses : pdm-project/setup-pdm@v4
39
+ - name : Install dependencies
40
+ run : pdm install
41
+ - run : pdm run mypy --install-types --non-interactive
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ readme = {file = ["README.rst"]}
35
35
[dependency-groups ]
36
36
dev = [
37
37
" pytest" ,
38
- " mypy"
38
+ " mypy[install-types] "
39
39
]
40
40
41
41
[tool .mypy ]
You can’t perform that action at this time.
0 commit comments