Skip to content

Fix: Remove upload_pdf view from urls.py #116

Fix: Remove upload_pdf view from urls.py

Fix: Remove upload_pdf view from urls.py #116

Workflow file for this run

name: Django CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v3
- name: Build docker image and run tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
cd backend
docker compose build
docker compose run tutorai python manage.py makemigrations
docker compose run tutorai python manage.py migrate
docker compose up -d
docker compose run tutorai python manage.py test
docker compose down