File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # .github/workflows/main.yml
2-
3- name : 🔄 CI – Vault Template Build Check
1+ name : 🔄 CI – PtiCalin Game Engine Build Check
42
53on :
64 push :
1513 runs-on : ubuntu-latest
1614
1715 steps :
16+ - name : 📦 Checkout code
17+ uses : actions/checkout@v3
18+
19+ - name : 🐍 Setup Python
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : ' 3.11'
23+
1824 - name : 📦 Install dependencies
19- run : | # List dependencies here
20- echo "Installing dependencies..."
21- # Example: pip install -r requirements.txt
22- # Replace with actual commands for your project
25+ run : |
26+ python -m pip install --upgrade pip
27+ pip install -r requirements.txt
28+ if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
29+
30+ - name : 🔍 Lint code
31+ run : |
32+ black --check .
33+
34+ - name : ✅ Run tests
35+ run : |
36+ pytest -v
2337
Original file line number Diff line number Diff line change 11.PHONY : install dev test format lint
22
33install :
4- pip install -r requirements.txt
4+ pip install -r requirements.txt
55
66lint :
7- black --check .
8- test -f requirements-dev.txt && flake8 . || true
7+ black --check .
8+ test -f requirements-dev.txt && flake8 . || true
99
1010format :
11- black .
11+ black .
1212
1313test :
14- pytest -q
14+ pytest -v
1515
1616dev : install
17- pip install -r requirements-dev.txt
17+ pip install -r requirements-dev.txt
You can’t perform that action at this time.
0 commit comments