Skip to content

Merge pull request #31 from CSPCLAB/fix/monitor #69

Merge pull request #31 from CSPCLAB/fix/monitor

Merge pull request #31 from CSPCLAB/fix/monitor #69

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
python manage.py migrate
python manage.py test