Skip to content

Commit

Permalink
Merge pull request #51 from acsone/odoo16
Browse files Browse the repository at this point in the history
Add Odoo 16.0 support
  • Loading branch information
sbidoul authored Sep 21, 2022
2 parents 15f08e9 + 61f2bf7 commit b40b5a9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
toxenv: "py36-14.0"
- python-version: "3.8"
toxenv: "py38-15.0"
# - python-version: "3.8"
# toxenv: "py38-master"
- python-version: "3.6"
- python-version: "3.10"
toxenv: "py310-16.0"
- python-version: "3.10"
toxenv: "twine_check"
services:
postgres:
Expand Down Expand Up @@ -81,12 +81,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install pypa/build
run: python -m pip install build
- name: Build a binary wheel and a source tarball
run: python -m build --sdist --wheel --outdir dist/
run: pipx run build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_token }}
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ as a global variable.
Supported Odoo versions
~~~~~~~~~~~~~~~~~~~~~~~

Odoo version 12, 13, 14 and 15 are supported.
Odoo version 11, 12, 13, 14, 15 and 16 are supported.

An important design goal is to provide a consistent behaviour
across Odoo versions.
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Framework :: Odoo",
],
entry_points="""
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@

[tox]
envlist =
py38-{15.0,master}
py36-{11.0,12.0,13.0,14.0,15.0}
py310-{16.0}
py38-{15.0}
py36-{11.0,12.0,13.0,14.0}
twine_check
pre_commit
skip_missing_interpreters = True
Expand All @@ -18,6 +19,7 @@ commands =
13.0: {toxinidir}/tests/scripts/install_odoo.py 13.0 {envdir}/src/odoo
14.0: {toxinidir}/tests/scripts/install_odoo.py 14.0 {envdir}/src/odoo
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
master: {toxinidir}/tests/scripts/install_odoo.py master {envdir}/src/odoo
pytest --verbose --cov=click_odoo --cov-branch --cov-report=html --cov-report=term --cov-report=xml {posargs}
deps =
Expand Down

0 comments on commit b40b5a9

Please sign in to comment.