Skip to content

imApoorva36 is running Django Tests #104

imApoorva36 is running Django Tests

imApoorva36 is running Django Tests #104

Workflow file for this run

name: django-tests
run-name: ${{ github.actor }} is running Django Tests
on: [pull_request]
jobs:
run-django-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Copy config files
run: cp env.example .env
- name: Start Containers
run: docker compose -f "docker-compose.yml" up -d --build
- name: Run Tests
run: docker compose -f "docker-compose.yml" exec corpus python manage.py test
- name: Stop Containers
if: always()
run: docker compose -f "docker-compose.yml" down -v