diff --git a/.github/workflows/django-unit-tests.yaml b/.github/workflows/django-unit-tests.yaml new file mode 100644 index 000000000..6e31c92a2 --- /dev/null +++ b/.github/workflows/django-unit-tests.yaml @@ -0,0 +1,27 @@ +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.x' + + - name: Install Dependencies + run: | + cd app/backend + python3 -m pip install --upgrade pip + python3 -m pip install -r requirements.txt + + - name: Test + run: | + cd app/backend + python3 manage.py test \ No newline at end of file