Skip to content

Add github action workflow for django unit tests. #1

Add github action workflow for django unit tests.

Add github action workflow for django unit tests. #1

name: Django Unit Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.6.9'
- name: Install Dependencies
run: |
cd app/backend
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test
run: |
cd app/backend
python manage.py test