Skip to content

Commit af17607

Browse files
committed
feat(ci): add python linter to python CI jobs
1 parent e092f16 commit af17607

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/test-python.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,3 +192,21 @@ jobs:
192192

193193
- name: "Run tests"
194194
run: python -m unittest discover --start "./tests/" --pattern "test_offline_*.py" --verbose
195+
196+
ruff:
197+
name: "Lint tests"
198+
runs-on: ubuntu-latest
199+
defaults:
200+
run:
201+
working-directory: bdk-python
202+
steps:
203+
- name: "Checkout"
204+
uses: actions/checkout@v4
205+
with:
206+
submodules: true
207+
208+
- name: "Install Ruff"
209+
run: curl -LsSf https://astral.sh/ruff/install.sh | sh
210+
211+
- name: "Lint test targets"
212+
run: ruff check ./tests/

0 commit comments

Comments
 (0)