Skip to content

Commit d3d56b1

Browse files
committed
tests/fix: manage lint env with uv; use it to run pre-commit
1 parent 64c0ad3 commit d3d56b1

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/maintests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,7 @@ jobs:
4848
python-version: "3.12"
4949
enable-cache: true
5050

51+
- name: Install the project
52+
run: uv sync --locked --all-extras --dev
5153
- name: Run pre-commit hooks
52-
run: uvx pre-commit run --all-files
54+
run: uv pre-commit run --all-files

.github/workflows/prtests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,7 @@ jobs:
4848
python-version: "3.12"
4949
enable-cache: true
5050

51+
- name: Install the project
52+
run: uv sync --locked --all-extras --dev
5153
- name: Run pre-commit hooks
52-
run: uvx pre-commit run --all-files
54+
run: uv pre-commit run --all-files

0 commit comments

Comments
 (0)