Skip to content

Commit

Permalink
Test on python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ushkarev committed Nov 16, 2023
1 parent 61abebd commit 8b79f64
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
- { "django-version": "4.1", "python-version": "3.9" }
- { "django-version": "4.1", "python-version": "3.10" }
- { "django-version": "4.1", "python-version": "3.11" }
- { "django-version": "4.2", "python-version": "3.8" }
- { "django-version": "4.2", "python-version": "3.9" }
- { "django-version": "4.2", "python-version": "3.10" }
- { "django-version": "4.2", "python-version": "3.11" }
- { "django-version": "4.2", "python-version": "3.12" }
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions moj_irat/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class HealthcheckView(View):
"""
View for returning the health status of dependency services for IRaT support
"""

def get(self, request):
from moj_irat.healthchecks import registry

Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers =
Framework :: Django :: 3.2
Framework :: Django :: 4.0
Framework :: Django :: 4.1
Framework :: Django :: 4.2
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Natural Language :: English
Expand All @@ -31,6 +32,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12

[options]
; NB: looser python version requirement than what's tested
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ envlist =
{py38,py39,py310}-django32
{py38,py39,py310,py311}-django40
{py38,py39,py310,py311}-django41
{py38,py39,py310,py311,py312}-django42
lint

[testenv]
Expand All @@ -19,6 +20,7 @@ deps =
django32: django~=3.2.0
django40: django~=4.0.0
django41: django~=4.1.0
django42: django~=4.2.0
commands = python -m tests

[testenv:lint]
Expand Down

0 comments on commit 8b79f64

Please sign in to comment.