We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fefa7aa commit 0412a64Copy full SHA for 0412a64
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,36 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ quality:
11
+ name: Code Quality
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
18
+ - name: Set up Python
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: "3.10"
22
23
+ - name: Install dependencies
24
+ run: pip install ruff mypy pytest pytest-cov
25
26
+ - name: Ruff lint
27
+ run: ruff check .
28
29
+ - name: Ruff format check
30
+ run: ruff format --check .
31
32
+ - name: mypy
33
+ run: mypy src/
34
35
+ - name: pytest
36
+ run: pytest --cov=src --cov-fail-under=80
0 commit comments