Skip to content

Commit

Permalink
update testing matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Jun 7, 2024
1 parent 223e2d0 commit ed35510
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ jobs:
strategy:
matrix:
python-version:
# - "3.6" stopped working with GitHub actions, disabling temporarily
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
fail-fast: false

services:
Expand Down Expand Up @@ -58,7 +59,7 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel setuptools tox
python -m pip install --upgrade pip wheel tox
- name: Run tox targets for ${{ matrix.python-version }}
run: |
ENV_PREFIX=$(tr -C -d "0-9" <<< "${{ matrix.python-version }}")
Expand Down
12 changes: 10 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,27 @@ show_missing = True
[tox]
envlist =
checkqa,
py{36,37,38,39}-dj{22,30,31},
py{38,39,310}-dj{32,40,41,main}
py{37,38,39}-dj{22,30,31},
py{37,38,39,310}-dj{32}
py{38,39,310}-dj{32,40}
py{38,39,310,311}-dj{41}
py{38,39,310,311,312}-dj{42}
py{310,311,312}-dj{50,51,main}

[testenv]
passenv = CI, CIRCLECI, CIRCLE_*
deps =
coverage<5
setuptools
dj22: Django>=2.2,<3.0
dj30: Django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj32: Django>=3.2,<4.0
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
dj50: Django>=5.0,<5.1
dj51: Django>=5.1a1,<5.2
master: https://github.com/django/django/tarball/master
-r requirements_test.txt

Expand Down

0 comments on commit ed35510

Please sign in to comment.