Skip to content

Adds GitHub Actions CI workflow #9

Adds GitHub Actions CI workflow

Adds GitHub Actions CI workflow #9

Workflow file for this run

name: main
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
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