mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
GitHub Actions: Upgrade to Python 3.12
https://github.com/actions/setup-python/releases
This commit is contained in:
parent
711fa66654
commit
4efa08f81a
3 changed files with 14 additions and 10 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -16,9 +16,9 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.11
|
python-version: 3.x
|
||||||
|
|
||||||
- name: Get pip cache dir
|
- name: Get pip cache dir
|
||||||
id: pip-cache
|
id: pip-cache
|
||||||
|
|
|
||||||
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
|
@ -11,15 +11,15 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
max-parallel: 5
|
max-parallel: 6
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.10']
|
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.10']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|
|
||||||
14
tox.ini
14
tox.ini
|
|
@ -5,18 +5,19 @@ minversion = 1.8
|
||||||
envlist =
|
envlist =
|
||||||
py311-checkqa
|
py311-checkqa
|
||||||
docs
|
docs
|
||||||
py{38,39}-dj{32,41,42}
|
py{39}-dj{32,41,42}
|
||||||
py{310,py310}-dj{32,41,42,50,main}
|
py{310,py310}-dj{32,41,42,50,main}
|
||||||
py{311}-dj{41,42,50,main}
|
py{311}-dj{41,42,50,51,main}
|
||||||
py{312}-dj{50,main}
|
py{312}-dj{50,51,main}
|
||||||
|
py{313}-dj{50,51,main}
|
||||||
|
|
||||||
[gh-actions]
|
[gh-actions]
|
||||||
python =
|
python =
|
||||||
3.8: py38
|
|
||||||
3.9: py39
|
3.9: py39
|
||||||
3.10: py310
|
3.10: py310
|
||||||
3.11: py311,flake8,readme
|
3.11: py311,flake8,readme
|
||||||
3.12: py312
|
3.12: py312
|
||||||
|
3.13: py313
|
||||||
pypy-3.10: pypy310
|
pypy-3.10: pypy310
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
|
@ -29,10 +30,13 @@ deps =
|
||||||
dj32: django~=3.2.9
|
dj32: django~=3.2.9
|
||||||
dj41: django~=4.1.3
|
dj41: django~=4.1.3
|
||||||
dj42: django~=4.2.0
|
dj42: django~=4.2.0
|
||||||
dj50: django~=5.0.0rc1
|
dj50: django~=5.0.0
|
||||||
|
dj51: django~=5.1.0
|
||||||
djmain: https://github.com/django/django/archive/main.tar.gz
|
djmain: https://github.com/django/django/archive/main.tar.gz
|
||||||
py312: setuptools
|
py312: setuptools
|
||||||
py312: wheel
|
py312: wheel
|
||||||
|
py313: setuptools
|
||||||
|
py313: wheel
|
||||||
coverage
|
coverage
|
||||||
coverage_enable_subprocess
|
coverage_enable_subprocess
|
||||||
extras = testing
|
extras = testing
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue