From 808b213d6c5d0a1fbd0b179556c565a348d1921a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Wed, 25 Sep 2024 15:29:22 +0200 Subject: [PATCH] Test with Odoo 18 --- .github/workflows/ci.yml | 3 +++ tox.ini | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8afffdb..84d2606 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,9 @@ jobs: - python-version: "3.12" toxenv: "py312-17.0" machine: ubuntu-22.04 + - python-version: "3.12" + toxenv: "py312-18.0" + machine: ubuntu-24.04 - python-version: "3.10" toxenv: "twine_check" machine: ubuntu-22.04 diff --git a/tox.ini b/tox.ini index 33a9809..b0a58d1 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ [tox] envlist = - py312-{16.0,17.0} + py312-{16.0,17.0,18.0} py311-{16.0,17.0} py310-{16.0,17.0} py38-{15.0} @@ -23,6 +23,7 @@ commands = 15.0: {toxinidir}/tests/scripts/install_odoo.py 15.0 {envdir}/src/odoo 16.0: {toxinidir}/tests/scripts/install_odoo.py 16.0 {envdir}/src/odoo 17.0: {toxinidir}/tests/scripts/install_odoo.py 17.0 {envdir}/src/odoo + 18.0: {toxinidir}/tests/scripts/install_odoo.py 18.0 {envdir}/src/odoo pytest --verbose --cov=click_odoo_contrib --cov-branch --cov-report=html --cov-report=term --cov-report=xml {posargs} deps = pytest