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,32 @@ 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
-
51
- - name : Check for vulnerabilities in dependencies
52
- run : pdm run duty check-dependencies
50
+ run : make check-types
53
51
54
52
- name : Check for breaking changes in the API
55
- run : pdm run duty check-api
53
+ run : make check-api
56
54
57
55
tests :
58
56
59
57
strategy :
60
- max-parallel : 4
61
58
matrix :
62
59
os :
63
60
- ubuntu-latest
69
66
- " 3.10"
70
67
- " 3.11"
71
68
- " 3.12"
69
+ - " 3.13"
70
+ resolution :
71
+ - highest
72
+ - lowest-direct
73
+ exclude :
74
+ - os : macos-latest
75
+ resolution : lowest-direct
76
+ - os : windows-latest
77
+ resolution : lowest-direct
72
78
runs-on : ${{ matrix.os }}
73
- continue-on-error : ${{ matrix.python-version == '3.12 ' || matrix.os == 'windows-latest' }}
79
+ continue-on-error : ${{ matrix.python-version == '3.13 ' || matrix.os == 'windows-latest' }}
74
80
75
81
steps :
76
82
- name : Install aria2 on Ubuntu
@@ -90,17 +96,19 @@ jobs:
90
96
- name : Checkout
91
97
uses : actions/checkout@v4
92
98
93
- - name : Set up PDM
94
- uses : pdm-project /setup-pdm@v4
99
+ - name : Set up Python
100
+ uses : actions /setup-python@v5
95
101
with :
96
102
python-version : ${{ matrix.python-version }}
97
- allow-python- prereleases : true
103
+ allow-prereleases : true
98
104
99
- - name : Resolving dependencies
100
- run : pdm lock -v --no-cross-platform -G ci-tests -G tui
105
+ - name : Install uv
106
+ run : pip install uv
101
107
102
108
- name : Install dependencies
103
- run : pdm install --no-editable -G ci-tests -G tui
109
+ env :
110
+ UV_RESOLUTION : ${{ matrix.resolution }}
111
+ run : make setup
104
112
105
113
- name : Run the test suite
106
- run : pdm run duty test
114
+ run : make test
0 commit comments