Skip to content

Commit 43427d9

Browse files
committed
Make tests a separate job
Run even if pre-commit failed
1 parent 010e09d commit 43427d9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/pre-commit.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: pre-commit
1+
name: pre-commit and tests
22

33
on:
44
pull_request:
@@ -34,6 +34,14 @@ jobs:
3434
echo "$newfiles"
3535
exit 1
3636
fi
37+
38+
tests:
39+
runs-on: ubuntu-22.04
40+
steps:
41+
- uses: actions/checkout@v4
42+
- uses: actions/setup-python@v5
43+
with:
44+
python-version: "3.11"
3745
- name: Install uv and sync dev dependencies
3846
run: |
3947
pip install uv

0 commit comments

Comments
 (0)