Skip to content

Commit 36c2ec7

Browse files
committed
Add Sourcery CI workflow
Signed-off-by: Artiom Divak <[email protected]>
1 parent 29830da commit 36c2ec7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/sourcery.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Sourcery Review
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
jobs:
8+
sourcery:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-python@v5
13+
with:
14+
python-version: '3.11'
15+
16+
- name: Install Sourcery
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install sourcery
20+
21+
- name: Run Sourcery review
22+
run: |
23+
sourcery review tools

0 commit comments

Comments
 (0)