Skip to content

Merge pull request #40 from arcticlinux/tox-4.11.4 #23

Merge pull request #40 from arcticlinux/tox-4.11.4

Merge pull request #40 from arcticlinux/tox-4.11.4 #23

name: build-and-test
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
tox-env:
- py3-django3
- py3-django4
- py3-django5
- flake8
exclude:
- python-version: '3.8'
tox-env: 'py3-django5'
- python-version: '3.9'
tox-env: 'py3-django5'
- python-version: '3.11'
tox-env: 'py3-django3'
- python-version: '3.12'
tox-env: 'py3-django3'
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Build and Test
run: |
python -m pip install --upgrade pip setuptools
pip install tox==4.11.4
tox -e ${{ matrix.tox-env }}