Skip to content

chore: update tox envlist and gha matrix #26

chore: update tox envlist and gha matrix

chore: update tox envlist and gha matrix #26

Workflow file for this run

name: Test
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
grappelli: ["0", "1"]
python-version: ["3.11"]
django-version: ["4.2"]
exclude:
- python-version: "3.11"
grappelli: "1"
include:
- python-version: "3.9"
django-version: "4.2"
grappelli: "0"
- python-version: "3.10"
django-version: "5.0"
grappelli: "0"
- python-version: "3.12"
django-version: "5.0"
grappelli: "1"
env:
DJANGO: ${{ matrix.django-version }}
GRAPPELLI: ${{ matrix.grappelli }}
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 dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: |
tox -- -v2 --selenium=chrome-headless || \
tox -- -v2 --selenium=chrome-headless || \
tox -- -v2 --selenium=chrome-headless