Skip to content

Commit ab3b293

Browse files
Updated GitHub Actions
1 parent 2b90327 commit ab3b293

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

.github/workflows/django.yml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,32 @@ jobs:
1717
python-version: [3.8, 3.9, '3.10']
1818

1919
steps:
20-
- uses: actions/checkout@v4
20+
- name: Checkout source Git branch
21+
uses: actions/checkout@v4
2122

22-
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v4
24-
with:
25-
python-version: ${{ matrix.python-version }}
23+
- name: Set up Python ${{ matrix.python-version }}
24+
uses: actions/setup-python@v4
25+
with:
26+
python-version: ${{ matrix.python-version }}
2627

27-
- name: Install Dependencies
28-
run: |
29-
cd backend
30-
python -m pip install --upgrade pip
31-
pip install -r requirements.txt
28+
- name: Install Dependencies
29+
run: |
30+
cd backend
31+
python -m pip install --upgrade pip
32+
pip install -r requirements.txt
3233
33-
- name: Run migrations
34-
run: |
35-
cd backend
36-
python manage.py makemigrations
37-
python manage.py migrate
34+
- name: Run migrations
35+
run: |
36+
cd backend
37+
python manage.py makemigrations
38+
python manage.py migrate
3839
39-
- name: Lint with flake8
40-
run: |
41-
cd backend
42-
flake8
40+
- name: Lint with flake8
41+
run: |
42+
cd backend
43+
flake8
4344
44-
- name: Run Tests
45-
run: |
46-
cd backend
47-
python manage.py test
45+
- name: Run Tests
46+
run: |
47+
cd backend
48+
python manage.py test

0 commit comments

Comments
 (0)