Skip to content

Commit 052574d

Browse files
committed
Run tests with pdm
1 parent 091fdb8 commit 052574d

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/pytest-ubuntu.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,15 @@ jobs:
1111
- name: Check out the repository
1212
uses: actions/checkout@v4
1313

14-
- name: Set up Python
15-
uses: actions/setup-python@v5
14+
- name: Set up PDM
15+
uses: pdm-project/setup-pdm@v4
1616
with:
17-
python-version: '3.x'
17+
python-version: 3.13
1818

1919
- name: Install dependencies
2020
run: |
21-
python -m pip install --upgrade pip
22-
pip install .[test]
21+
pdm install -G test
2322
2423
- name: Run tests
2524
run: |
26-
pytest --doctest-modules
25+
pdm run -v pytest --doctest-modules

0 commit comments

Comments
 (0)