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 d7bb075 commit 5d6bd1e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .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 @@ -59,6 +60,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel setuptools tox
python -m pip install setuptools
python -c "import setuptools; print(f'setuptools version: {setuptools.__version__}')"
python -c "import sys; print(f'Python version: {sys.version}')"
- name: Run tox targets for ${{ matrix.python-version }}
run: |
ENV_PREFIX=$(tr -C -d "0-9" <<< "${{ matrix.python-version }}")
Expand Down
11 changes: 9 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@ 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_*
Expand All @@ -41,6 +45,9 @@ deps =
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 5d6bd1e

Please sign in to comment.