14
14
LANG : en_US.utf-8
15
15
LC_ALL : en_US.utf-8
16
16
PYTHONIOENCODING : UTF-8
17
+ PYTHON_VERSIONS : " "
17
18
18
19
jobs :
19
20
@@ -28,36 +29,35 @@ jobs:
28
29
- name : Fetch all tags
29
30
run : git fetch --depth=1 --tags
30
31
31
- - name : Set up PDM
32
- uses : pdm-project /setup-pdm@v4
32
+ - name : Set up Python
33
+ uses : actions /setup-python@v5
33
34
with :
34
- python-version : " 3.8 "
35
+ python-version : " 3.11 "
35
36
36
- - name : Resolving dependencies
37
- run : pdm lock -v --no-cross-platform -G ci-quality
37
+ - name : Install uv
38
+ run : pip install uv
38
39
39
40
- name : Install dependencies
40
- run : pdm install -G ci-quality
41
+ run : make setup
41
42
42
43
- name : Check if the documentation builds correctly
43
- run : pdm run duty check-docs
44
+ run : make check-docs
44
45
45
46
- name : Check the code quality
46
- run : pdm run duty check-quality
47
+ run : make check-quality
47
48
48
49
- name : Check if the code is correctly typed
49
- run : pdm run duty check-types
50
+ run : make check-types
50
51
51
52
- name : Check for vulnerabilities in dependencies
52
- run : pdm run duty check-dependencies
53
+ run : make check-dependencies
53
54
54
55
- name : Check for breaking changes in the API
55
- run : pdm run duty check-api
56
+ run : make check-api
56
57
57
58
tests :
58
59
59
60
strategy :
60
- max-parallel : 4
61
61
matrix :
62
62
os :
63
63
- ubuntu-latest
@@ -76,17 +76,20 @@ jobs:
76
76
- name : Checkout
77
77
uses : actions/checkout@v4
78
78
79
- - name : Set up PDM
80
- uses : pdm-project /setup-pdm@v4
79
+ - name : Set up Python
80
+ uses : actions /setup-python@v5
81
81
with :
82
82
python-version : ${{ matrix.python-version }}
83
- allow-python- prereleases : true
83
+ allow-prereleases : true
84
84
85
- - name : Resolving dependencies
86
- run : pdm lock -v --no-cross-platform -G ci-tests
85
+ - name : Install uv
86
+ run : pip install uv
87
87
88
88
- name : Install dependencies
89
- run : pdm install --no-editable -G ci-tests
89
+ run : |
90
+ uv venv
91
+ uv pip install -r devdeps.txt
92
+ uv pip install "git-changelog @ ."
90
93
91
94
- name : Run the test suite
92
- run : pdm run duty test
95
+ run : make test
0 commit comments