Skip to content

Commit

Permalink
Added django-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
theriverman committed Mar 13, 2021
1 parent 042fa8c commit b56fd41
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/django-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: django-app-tests

on:
push:
branches:
- '**'

jobs:
job-run-django-app-tests:
name: Deploy DjangoExampleProject and run its integrated tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup Python
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
# Install Dependencies
- name: Install pypa/build
run: >-
python -m
pip install
-r
requirements.txt
# Setup Django
- name: Deploy DjangoExampleProject
run: python manage.py migrate
# Run Django Tests
- name: Deploy DjangoExampleProject
run: python manage.py tests

0 comments on commit b56fd41

Please sign in to comment.