File tree Expand file tree Collapse file tree 3 files changed +826
-385
lines changed Expand file tree Collapse file tree 3 files changed +826
-385
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ jobs:
28
28
python-version : ${{ matrix.python-version }}
29
29
allow-prereleases : true
30
30
cache : " pip"
31
+ - name : Setup PDM
32
+ uses : pdm-project/setup-pdm@v4
31
33
- name : Install Dependencies
32
- run : |
33
- python -m pip install -U pip pytest setuptools editables pytest-gitconfig
34
- pip install .
34
+ run : pdm sync
35
35
- name : Install Mercurial
36
36
shell : bash
37
37
run : |
55
55
echo "username = \"John Doe <[email protected] >\"" >> ~/.hgrc
56
56
- name : Run Tests
57
57
run : |
58
- pytest -vvv tests
58
+ pdm run pytest -vvv tests
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ this section.
47
47
Following [ the guide] [ pdm-install ] to install PDM on your machine, then install the development dependencies:
48
48
49
49
``` bash
50
- $ pdm install
50
+ $ pdm sync
51
51
```
52
52
53
53
It will create a virtualenv at ` $PWD/.venv ` and install all dependencies into it.
You can’t perform that action at this time.
0 commit comments