File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Django CI
2-
3- on : [push, pull_request]
2+ Add commentMore actions
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
48
59jobs :
6- test :
10+ build :
11+
712 runs-on : ubuntu-latest
13+ strategy :
14+ max-parallel : 4
15+ matrix :
16+ python-version : [3.7, 3.8, 3.9]
17+
818 steps :
919 - uses : actions/checkout@v4
10-
11- - name : Set up Python
12- uses : actions/setup-python@v4
20+ - name : Set up Python ${{ matrix.python-version }}
21+ uses : actions/setup-python@v3
1322 with :
14- python-version : ' 3.10'
15- cache : ' pip'
16-
17- - name : Install dependencies
23+ python-version : ${{ matrix.python-version }}
24+ - name : Install Dependencies
1825 run : |
1926 python -m pip install --upgrade pip
2027 pip install -r requirements.txt
21-
22- - name : Debug - List Files
23- run : ls -la
24-
25- - name : Run tests
28+ - name : Run Tests
2629 run : |
2730 python manage.py test
You can’t perform that action at this time.
0 commit comments