1414 LANG : en_US.utf-8
1515 LC_ALL : en_US.utf-8
1616 PYTHONIOENCODING : UTF-8
17+ PYTHON_VERSIONS : " "
1718
1819jobs :
1920
@@ -28,36 +29,32 @@ jobs:
2829 - name : Fetch all tags
2930 run : git fetch --depth=1 --tags
3031
31- - name : Set up PDM
32- uses : pdm-project /setup-pdm@v4
32+ - name : Set up Python
33+ uses : actions /setup-python@v5
3334 with :
34- python-version : " 3.8 "
35+ python-version : " 3.11 "
3536
36- - name : Resolving dependencies
37- run : pdm lock -v --no-cross-platform -G ci-quality
37+ - name : Install uv
38+ run : pip install uv
3839
3940 - name : Install dependencies
40- run : pdm install -G ci-quality
41+ run : make setup
4142
4243 - name : Check if the documentation builds correctly
43- run : pdm run duty check-docs
44+ run : make check-docs
4445
4546 - name : Check the code quality
46- run : pdm run duty check-quality
47+ run : make check-quality
4748
4849 - 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
5351
5452 - name : Check for breaking changes in the API
55- run : pdm run duty check-api
53+ run : make check-api
5654
5755 tests :
5856
5957 strategy :
60- max-parallel : 4
6158 matrix :
6259 os :
6360 - ubuntu-latest
@@ -69,24 +66,37 @@ jobs:
6966 - " 3.10"
7067 - " 3.11"
7168 - " 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
7278 runs-on : ${{ matrix.os }}
73- continue-on-error : ${{ matrix.python-version == '3.12 ' }}
79+ continue-on-error : ${{ matrix.python-version == '3.13 ' }}
7480
7581 steps :
7682 - name : Checkout
7783 uses : actions/checkout@v4
7884
79- - name : Set up PDM
80- uses : pdm-project /setup-pdm@v4
85+ - name : Set up Python
86+ uses : actions /setup-python@v5
8187 with :
8288 python-version : ${{ matrix.python-version }}
83- allow-python- prereleases : true
89+ allow-prereleases : true
8490
85- - name : Resolving dependencies
86- run : pdm lock -v --no-cross-platform -G ci-tests
91+ - name : Setup uv
92+ uses : astral-sh/setup-uv@v1
93+ with :
94+ enable-cache : true
8795
8896 - name : Install dependencies
89- run : pdm install --no-editable -G ci-tests
97+ env :
98+ UV_RESOLUTION : ${{ matrix.resolution }}
99+ run : make setup
90100
91101 - name : Run the test suite
92- run : pdm run duty test
102+ run : make test
0 commit comments