File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 11
11
- " 3.8"
12
12
- " 3.9"
13
13
- " 3.10"
14
- - " 3.11"
15
- - " 3.12"
16
14
17
15
steps :
18
16
- uses : actions/checkout@v4
23
21
python-version : ${{ matrix.python-version }}
24
22
25
23
- name : Install the project
26
- run : uv sync --locked --all-extras --dev
24
+ run : uv sync --locked --all-extras --dev
27
25
28
26
- name : Run unit tests
29
27
run : uv run pytest -m "not slow" --cov=compressai -s tests/
Original file line number Diff line number Diff line change @@ -4,16 +4,24 @@ on: [push, pull_request]
4
4
5
5
jobs :
6
6
static_analysis :
7
- runs-on : ${{ matrix.os }}
7
+ runs-on : " ubuntu-latest "
8
8
strategy :
9
9
matrix :
10
10
python-version :
11
11
- " 3.8"
12
12
- " 3.10"
13
13
- " 3.12"
14
14
15
- include :
16
- - os : " ubuntu-latest"
17
15
steps :
18
- - uses : astral-sh/ruff-action@v3
16
+ - uses : actions/checkout@v4
17
+
18
+ - name : Install uv
19
+ uses : astral-sh/setup-uv@v5
20
+ with :
21
+ python-version : ${{ matrix.python-version }}
22
+
23
+ - name : Install the project
24
+ run : uv sync --only-group=dev
25
+
26
+ - name : Run static analysis
19
27
run : make static-analysis
You can’t perform that action at this time.
0 commit comments