Skip to content

Commit 8aeee13

Browse files
committed
Add quality check GitHub Actions workflow
1 parent 572a1c1 commit 8aeee13

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

‎.github/workflows/quality.yml‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: quality
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
check:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Check out repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.11"
20+
21+
- name: Install development dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
python -m pip install -r requirements-dev.txt
25+
26+
- name: Run Ruff
27+
run: ruff check .
28+
29+
- name: Run mypy
30+
run: mypy .
31+
32+
- name: Run vulture
33+
run: vulture . vulture_whitelist.py

0 commit comments

Comments
 (0)