Skip to content

Commit

Permalink
bas 2 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Tejaso7 committed Oct 27, 2023
2 parents 06a6984 + 5c6840c commit d8adc97
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Django CI

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

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
4 changes: 4 additions & 0 deletions APST/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

<<<<<<< HEAD
ALLOWED_HOSTS = ['TejasSawant07.pythonanywhere.com']
=======
ALLOWED_HOSTS = [*]
>>>>>>> 5c6840cc0ae0dd0944ae7c136d75f09dcd94725d


# Application definition
Expand Down

0 comments on commit d8adc97

Please sign in to comment.