Skip to content

Commit

Permalink
update the setting
Browse files Browse the repository at this point in the history
  • Loading branch information
oyekamal committed Feb 13, 2024
1 parent c6006c1 commit 438d6be
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,28 @@ name: Django CI

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:
build:

runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
python manage.py test
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r app/requirements.txt
- name: Run Tests
run: |
python app/manage.py test
2 changes: 1 addition & 1 deletion app/core/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local = False
local = True

if local:
from .local_settings import *
Expand Down

0 comments on commit 438d6be

Please sign in to comment.