Skip to content

fix: remove not required test, add package dependency #42

fix: remove not required test, add package dependency

fix: remove not required test, add package dependency #42

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