Skip to content

anirudhprabhakaran3 is running Django Tests #273

anirudhprabhakaran3 is running Django Tests

anirudhprabhakaran3 is running Django Tests #273

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