Skip to content

Test django.yml workflow #10

Test django.yml workflow

Test django.yml workflow #10

Workflow file for this run

name: Django CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ['3.10', 3.11, 3.12]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies from pyproject.toml
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Test with Django's test framework
run: poetry run demoproject/manage.py test