Skip to content

Merge pull request #74 from vintasoftware/fix/pre-commit #40

Merge pull request #74 from vintasoftware/fix/pre-commit

Merge pull request #74 from vintasoftware/fix/pre-commit #40

Workflow file for this run

name: main
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
django-version: ['3.2', '4.0', '4.1', '4.2', '5.0']
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 tox-gh-actions
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: Run tests with tox
env:
OS: ${{ matrix.os }}
DJANGO: ${{ matrix.django-version }}
run: tox
- name: Run Codecov
run: |
python -m pip install codecov
codecov