File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ strategy :
14+ max-parallel : 4
15+ matrix :
16+ python-version : [3.11, 3.12]
17+
18+ steps :
19+ - name : Checkout code
20+ uses : actions/checkout@v4
21+
22+ - name : Set up Python ${{ matrix.python-version }}
23+ uses : actions/setup-python@v3
24+ with :
25+ python-version : ${{ matrix.python-version }}
26+
27+ - name : Install dependencies
28+ run : |
29+ python -m pip install --upgrade pip
30+ pip install -r src/requirements.txt
31+ pip install -r src/requirements-dev.txt
32+
33+ - name : Run tests
34+ env :
35+ SECRET_KEY : dummysecretkey
36+ DEBUG : True
37+ run : |
38+ cd src
39+ python3 manage.py test
You can’t perform that action at this time.
0 commit comments