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 1111 - " 3.8"
1212 - " 3.9"
1313 - " 3.10"
14- - " 3.11"
15- - " 3.12"
1614
1715 steps :
1816 - uses : actions/checkout@v4
2321 python-version : ${{ matrix.python-version }}
2422
2523 - name : Install the project
26- run : uv sync --locked --all-extras --dev
24+ run : uv sync --locked --all-extras --dev
2725
2826 - name : Run unit tests
2927 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]
44
55jobs :
66 static_analysis :
7- runs-on : ${{ matrix.os }}
7+ runs-on : " ubuntu-latest "
88 strategy :
99 matrix :
1010 python-version :
1111 - " 3.8"
1212 - " 3.10"
1313 - " 3.12"
1414
15- include :
16- - os : " ubuntu-latest"
1715 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
1927 run : make static-analysis
You can’t perform that action at this time.
0 commit comments