Skip to content

CI

CI #3

Workflow file for this run

name: CI
on:
workflow_dispatch:
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-latest, windows-latest]
django-version: ["3.0", "3.2", "4.0", "4.2"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.1.15"
- name: Install pytest
run: poetry add pytest
- name: Install django
run: poetry add django==${{ matrix.django-version }}
- name: Run pytest
run: poetry run pytest