@@ -17,16 +17,34 @@ jobs:
1717 fail-fast : false
1818
1919 steps :
20- - uses : actions/checkout@v3
21- - uses : actions/setup-python@v3
20+ - name : 📥 Checkout code
21+ uses : actions/checkout@v3
22+
23+ - name : 🐍 Setup Python ${{ matrix.python-version }}
24+ uses : actions/setup-python@v3
2225 with :
2326 python-version : ${{ matrix.python-version }}
2427 architecture : x64
25- - run : pip install poetry==1.3.1
26- - run : poetry install
27- - run : poetry run pytest
28- - run : poetry run pytest --cov=src/ --cov-report=xml --cov-fail-under 90 --cov-config=.coveragerc
29- - uses : codecov/codecov-action@v2
28+
29+ - name : 📦 Install Poetry and dependencies
30+ run : |
31+ pip install poetry==1.3.1
32+ poetry install
33+
34+ - name : 📊 Run tests with coverage
35+ run : poetry run pytest --cov=src/ --cov-report=xml --cov-fail-under 90 --cov-config=.coveragerc
36+
37+ - name : 🔍 Type checking with ty
38+ run : poetry run ty check src/
39+
40+ - name : 🎨 Code formatting with black
41+ run : poetry run black --check .
42+
43+ - name : 🔧 Linting
44+ run : poetry run ruff check .
45+
46+ - name : 📈 Upload coverage to Codecov
47+ uses : codecov/codecov-action@v2
3048 if : always()
3149 with :
3250 token : ${{ secrets.CODECOV_TOKEN }}
3755 flags : unittests
3856 name : codecov-umbrella-${{ matrix.python-version }}
3957 path_to_write_report : .codecov_report.${{ matrix.python-version }}.txt
40- verbose : true
58+ verbose : true
0 commit comments