Skip to content

ci: fix python version support 🎞 #2

ci: fix python version support 🎞

ci: fix python version support 🎞 #2

Workflow file for this run

name: CI
on:
workflow_dispatch:
jobs:
ci:
strategy:
fail-fast: false
matrix:

Check failure on line 9 in .github/workflows/vesion_test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/vesion_test.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
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