Skip to content

ci: attempt to fix issues #63

ci: attempt to fix issues

ci: attempt to fix issues #63

Workflow file for this run

name: Python Tests
on: [push]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install the latest version of rye
uses: eifinger/setup-rye@v4
- name: Validate formatting
run: rye format --check
test:
runs-on: ubuntu-latest
needs: format
strategy:
max-parallel: 4
matrix:
tox_env:
- py38-django42
- py312-django42
- py312-django50
- py312-django51
include:
- python-version: 3.8
tox_env: py38-django42
- python-version: 3.12
tox_env: py312-django42
- python-version: 3.12
tox_env: py312-django50
- python-version: 3.12
tox_env: py312-django51
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
- name: Install the latest version of rye
uses: eifinger/setup-rye@v4
- name: Install dependencies
run: rye sync
- name: Test with tox
run: rye run tox -e ${{ matrix.tox_env }}