11
11
UV_SYSTEM_PYTHON : 1
12
12
13
13
jobs :
14
- build :
14
+ test :
15
15
runs-on : ${{ matrix.os }}
16
16
strategy :
17
17
matrix :
18
18
os : [windows-latest, ubuntu-latest, macos-latest]
19
- python-version : ["3.9", "3.10", "3.11", "3.12"]
19
+ python-version : ["3.9", "3.10", "3.11", "3.12", "3.13" ]
20
20
steps :
21
21
- uses : actions/checkout@v4
22
- - name : Install uv
23
- uses : astral-sh/setup-uv@v3
24
- - name : Install Python
25
- uses : actions/setup-python@v5
22
+ - uses : astral-sh/setup-uv@v3
23
+ - uses : actions/setup-python@v5
26
24
with :
27
25
python-version : ${{ matrix.python-version }}
28
26
- name : Install libsndfile
29
27
if : startsWith(matrix.os, 'ubuntu')
30
28
run : |
31
29
sudo apt-get install -y libsndfile1
32
30
- name : Install dependencies
33
- run : |
34
- uv pip install ".[dev]"
31
+ run : uv pip install ".[dev]"
35
32
- name : Run tests
36
- run : |
37
- pytest
38
- - name : Check source code format
33
+ run : pytest
34
+ - name : Check style
39
35
run : black --check --diff .
40
36
41
37
test-deb10-i386 :
@@ -54,16 +50,13 @@ jobs:
54
50
python3-soundfile \
55
51
python3-pytest \
56
52
git
57
-
58
53
# Note: "actions/checkout@v2" requires libstdc++6:amd64 to be
59
54
# installed in the container. To keep things simple, use
60
55
# "actions/checkout@v1" instead.
61
56
# https://github.com/actions/checkout/issues/334
62
57
- uses : actions/checkout@v1
63
-
64
58
- name : Run tests
65
- run : |
66
- pytest-3
59
+ run : pytest-3
67
60
68
61
build-documentation :
69
62
runs-on : ubuntu-20.04
0 commit comments