Skip to content

Commit

Permalink
Updated GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
BobsProgrammingAcademy authored Jun 21, 2024
1 parent 4c6f616 commit 00ff745
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,31 +41,32 @@ jobs:
--health-retries 5
steps:
- uses: actions/checkout@v4
- name: Checkout source Git branch
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install Dependencies
run: |
cd backend
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install Dependencies
run: |
cd backend
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run migrations
run: |
cd backend
python manage.py makemigrations
python manage.py migrate
- name: Run migrations
run: |
cd backend
python manage.py makemigrations
python manage.py migrate
- name: Lint with flake8
run: |
cd backend
flake8
- name: Lint with flake8
run: |
cd backend
flake8
- name: Run Tests
run: |
cd backend
python manage.py test
- name: Run Tests
run: |
cd backend
python manage.py test

0 comments on commit 00ff745

Please sign in to comment.