Skip to content

Commit 777abc2

Browse files
committed
Adjust when Test workflow runs
1 parent a63f4e5 commit 777abc2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ name: Tests
44
on:
55
push:
66
branches: [main]
7+
paths:
8+
- "**/*.py"
9+
- "pyproject.toml"
10+
- "poetry.lock"
711
pull_request:
812
branches: [main]
913

@@ -46,7 +50,11 @@ jobs:
4650
- name: Install package
4751
run: poetry install --all-extras
4852

53+
- name: Format
54+
run: poetry run ruff format --check .
55+
4956
- name: Lint
57+
if: always()
5058
run: poetry run ruff check --output-format=github .
5159

5260
- name: Typecheck

0 commit comments

Comments
 (0)