Skip to content

Hatch config + github action for running tests πŸš€ #1

Hatch config + github action for running tests πŸš€

Hatch config + github action for running tests πŸš€ #1

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
strategy:
fail-fast: true
matrix:
python-version: ['3.11', '3.12']
django-version: ['4.0', '5.0']
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade hatch
- name: Run tests for Python ${{ matrix.python-version }} and Django ${{ matrix.django-version }} on ${{ matrix.os }}
run: |
hatch run test.py${{ matrix.python-version }}-${{ matrix.django-version }}:test