File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : 🚦 Basic Checks
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ quality-checks :
11+ name : Quality Checks
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : 📥 Checkout code
16+ uses : actions/checkout@v4
17+
18+ - name : 🐍 Set up Python
19+ uses : actions/setup-python@v5
20+ with :
21+ python-version : " 3.12"
22+
23+ - name : 📦 Install dependencies
24+ run : pip install -r requirements.txt
25+
26+ - name : 🎨 Run black (formatting)
27+ run : black --check .
28+
29+ - name : 🧹 Run isort (import sorting)
30+ run : isort --check-only .
31+
32+ - name : 🧐 Run mypy (type checking)
33+ run : mypy .
34+
35+ - name : 🔍 Run pylint (linting)
36+ run : pylint **/*.py
37+
38+ - name : 🧪 Run tests with coverage
39+ run : coverage run manage.py test
40+
41+ - name : 📊 Generate coverage report (fail if <85%)
42+ run : coverage report --fail-under=85
You can’t perform that action at this time.
0 commit comments