File tree Expand file tree Collapse file tree 2 files changed +9
-15
lines changed Expand file tree Collapse file tree 2 files changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -19,30 +19,30 @@ jobs:
19
19
steps :
20
20
- name : 📥 Checkout code
21
21
uses : actions/checkout@v3
22
-
22
+
23
23
- name : 🐍 Setup Python ${{ matrix.python-version }}
24
24
uses : actions/setup-python@v3
25
25
with :
26
26
python-version : ${{ matrix.python-version }}
27
27
architecture : x64
28
-
28
+
29
29
- name : 📦 Install Poetry and dependencies
30
30
run : |
31
31
pip install poetry==1.3.1
32
32
poetry install
33
-
33
+
34
34
- name : 📊 Run tests with coverage
35
35
run : poetry run pytest --cov=src/ --cov-report=xml --cov-fail-under 90 --cov-config=.coveragerc
36
-
37
- - name : 🔍 Type checking with mypy
36
+
37
+ - name : 🔍 Type checking with ty
38
38
run : poetry run ty check src/
39
-
39
+
40
40
- name : 🎨 Code formatting with black
41
41
run : poetry run black --check .
42
-
42
+
43
43
- name : 🔧 Linting
44
44
run : poetry run ruff check .
45
-
45
+
46
46
- name : 📈 Upload coverage to Codecov
47
47
uses : codecov/codecov-action@v2
48
48
if : always()
55
55
flags : unittests
56
56
name : codecov-umbrella-${{ matrix.python-version }}
57
57
path_to_write_report : .codecov_report.${{ matrix.python-version }}.txt
58
- verbose : true
58
+ verbose : true
Original file line number Diff line number Diff line change 1
1
repos :
2
- - repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : v2.3.0
4
- hooks :
5
- - id : check-yaml
6
- - id : end-of-file-fixer
7
- - id : trailing-whitespace
8
2
- repo : local
9
3
hooks :
10
4
- id : black
You can’t perform that action at this time.
0 commit comments