diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b156400..4f11062 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,18 +2,18 @@ name: CI on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: testenv: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] - django-version: ['3.2', '4.0', '4.1', '4.2'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + django-version: ['3.2', '4.0', '4.1', '4.2', '5.0'] steps: - uses: actions/checkout@v3 @@ -31,16 +31,16 @@ jobs: PYTHON_VER: ${{ matrix.python-version }} DJANGO: ${{ matrix.django-version }} extra: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: extra-env: ['checkqa'] steps: - - uses: actions/checkout@v3 - - name: Set up Python 3.7 - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - name: Set up Python 3.11 + uses: actions/setup-python@v5 with: - python-version: '3.7' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/README.rst b/README.rst index 3ed355d..8b03584 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,7 @@ Welcome to django-healthpoint! .. image:: https://img.shields.io/pypi/v/django-healthpoint.svg :target: https://pypi.python.org/pypi/django-healthpoint -.. image:: https://coveralls.io/repos/pennersr/django-healthpoint/badge.png?branch=master +.. image:: https://coveralls.io/repos/pennersr/django-healthpoint/badge.png?branch=main :alt: Coverage Status :target: https://coveralls.io/r/pennersr/django-healthpoint diff --git a/setup.py b/setup.py index 3cc4593..4da525a 100644 --- a/setup.py +++ b/setup.py @@ -67,6 +67,7 @@ def read_files(*filenames): "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules", ], diff --git a/tox.ini b/tox.ini index a516b68..f5ffdf3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,10 @@ [tox] envlist = - {py38,py39,py310,py311}-django32 - {py38,py39,py310,py311}-django40 - {py38,py39,py310,py311}-django41 - {py38,py39,py310,py311}-django42 + {py38,py39,py310,py311,py312}-django32 + {py38,py39,py310,py311,py312}-django40 + {py38,py39,py310,py311,py312}-django41 + {py38,py39,py310,py311,py312}-django42 + {py310,py311,py312}-django50 checkqa [testenv] @@ -12,11 +13,12 @@ usedevelop = True deps = coverage # To avoid "AttributeError: install_layout" error on healthpoint installation - setuptools==50.3.2 + setuptools==69.1.1 django32: Django==3.2.* django40: Django==4.0.* django41: Django==4.1.* django42: Django==4.2.* + django50: Django==5.0.* commands = coverage run setup.py test