Skip to content

Commit 9332a7d

Browse files
committed
fix: github workflows
1 parent 8e34602 commit 9332a7d

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
python-version: ${{ matrix.python-version }}
2424

2525
- name: Install the project
26-
run: uv sync --locked --all-extras --dev
26+
run: uv sync --locked --all-extras --dev
2727

2828
- name: Run unit tests
2929
run: uv run pytest -m "not slow" --cov=compressai -s tests/

.github/workflows/static-analysis.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,24 @@ on: [push, pull_request]
44

55
jobs:
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

0 commit comments

Comments
 (0)