Skip to content

Update django-test.yml #11

Update django-test.yml

Update django-test.yml #11

Workflow file for this run

name: Django Test
on:
push:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install Dependencies
run: poetry install --no-interaction --no-root
- name: Start venv
run: source /home/runner/.cache/pypoetry/virtualenvs/bin/activate
- name: Run Tests
run: python3 manage.py test