Skip to content

VarshiniAdurti28 is running Django Tests #391

VarshiniAdurti28 is running Django Tests

VarshiniAdurti28 is running Django Tests #391

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