Skip to content

feat: Add dev cors allow #30

feat: Add dev cors allow

feat: Add dev cors allow #30

Workflow file for this run

name: Django Tests with SQLite
on:
push:
branches: [ '*' ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r app/requirements.txt
- name: Run tests
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
DJANGO_ALLOWED_HOSTS: ${{ secrets.DJANGO_ALLOWED_HOSTS }}
run: |
cd app
python manage.py makemigrations --settings=cspc_web.settings_dev
python manage.py migrate --settings=cspc_web.settings_dev
python manage.py test --settings=cspc_web.settings_dev