Skip to content

Commit 01313e7

Browse files
Updated GitHub Actions
1 parent 66a16b8 commit 01313e7

File tree

1 file changed

+23
-22
lines changed

1 file changed

+23
-22
lines changed

.github/workflows/django.yml

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

1919
steps:
20-
- uses: actions/checkout@v4
21-
22-
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v4
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 requirements.txt
31-
32-
- name: Run migrations
33-
run: |
34-
python manage.py makemigrations
35-
python manage.py migrate
20+
- name: Checkout source Git branch
21+
uses: actions/checkout@v4
22+
23+
- name: Set up Python ${{ matrix.python-version }}
24+
uses: actions/setup-python@v4
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
28+
- name: Install Dependencies
29+
run: |
30+
python -m pip install --upgrade pip
31+
pip install -r requirements.txt
32+
33+
- name: Run migrations
34+
run: |
35+
python manage.py makemigrations
36+
python manage.py migrate
3637
37-
- name: Lint with flake8
38-
run: |
39-
flake8
38+
- name: Lint with flake8
39+
run: |
40+
flake8
4041
41-
- name: Run Tests
42-
run: |
43-
python manage.py test
42+
- name: Run Tests
43+
run: |
44+
python manage.py test

0 commit comments

Comments
 (0)