diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a840383..635ed2cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,6 +62,9 @@ jobs: - name: '3.11' tox_env: integration-py311 + - name: '3.12' + tox_env: integration-py312 + steps: - name: Checkout uses: actions/checkout@v3 @@ -124,6 +127,9 @@ jobs: - name: '3.11' tox_env: unit-py311 + - name: '3.12' + tox_env: unit-py312 + steps: - name: Checkout uses: actions/checkout@v3 diff --git a/setup.cfg b/setup.cfg index 24dbe7e3..3d3125bc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,6 +21,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Programming Language :: Python :: 3 :: Only Topic :: Software Development :: Libraries :: Python Modules Topic :: System :: Systems Administration diff --git a/tox.ini b/tox.ini index 02bc5851..ef540923 100644 --- a/tox.ini +++ b/tox.ini @@ -14,16 +14,16 @@ deps = ansible27: ansible<2.8 ansible29: ansible<2.10 ansible-base: ansible-base py{,3,39,310,311}: ansible-core - integration{,-py39,-py310,-py311}: ansible-core - build - -r {toxinidir}/test/requirements.txt + integration{,-py39,-py310,-py311,-py312}: ansible-core + build + -r {toxinidir}/test/requirements.txt passenv = HOME RUNNER_TEST_IMAGE_NAME usedevelop = True commands = pytest -vv -n auto {posargs} -[testenv:linters{,-py39,-py310,-py311}] +[testenv:linters{,-py39,-py310,-py311,-py312}] description = Run code linters commands = flake8 --version @@ -33,11 +33,11 @@ commands = mypy src/ansible_runner pylint src/ansible_runner test -[testenv:unit{,-py39,-py310,-py311}] +[testenv:unit{,-py39,-py310,-py311,-py312}] description = Run unit tests commands = pytest -vv -n auto {posargs:test/unit} {[shared]pytest_cov_args} -[testenv:integration{,-py39,-py310,-py311}] +[testenv:integration{,-py39,-py310,-py311,-py312}] description = Run integration tests commands = pytest -vv -n auto {posargs:test/integration} {[shared]pytest_cov_args}