diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ba45c1..9164a06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,10 +2,10 @@ name: Python CI on: push: - branches: [ master ] + branches: [master] pull_request: branches: - - '**' + - '**' workflow_dispatch: concurrency: @@ -19,8 +19,8 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04] - python-version: [3.8] - toxenv: [django32, django42, quality, package] + python-version: ['3.8', '3.11', '3.12'] + toxenv: [django42, quality, package] steps: - name: checkout repo diff --git a/setup.py b/setup.py index 28d9ac8..c7f845d 100644 --- a/setup.py +++ b/setup.py @@ -115,8 +115,9 @@ def package_data(pkg, root_list): classifiers=[ 'Programming Language :: Python', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Framework :: Django', - 'Framework :: Django :: 3.2', 'Framework :: Django :: 4.2', ], url='https://github.com/openedx/xblock-image-explorer', diff --git a/tox.ini b/tox.ini index 4c2c6db..48292db 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,7 @@ [tox] -envlist = django{32,42},quality,package +envlist = py{38,311,312}-django{42},quality,package [pytest] -# Use the workbench settings file. DJANGO_SETTINGS_MODULE = workbench.settings addopts = --cov-report term-missing --cov-report xml @@ -10,7 +9,6 @@ addopts = --cov-report term-missing --cov-report xml allowlist_externals = mkdir deps = - django32: Django>=3.2,<4.0 django42: Django>=4.2,<4.3 -r{toxinidir}/requirements/test.txt commands =