Skip to content

Commit

Permalink
[WIP] add option for Odoo 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
celm1990 committed Nov 12, 2023
1 parent b871898 commit 2efc50b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
- 14.0
- 15.0
- 16.0
include:
- python-version: "3.10"
odoo-version: 17.0
- python-version: 3.11
odoo-version: 17.0

steps:
# Shared steps
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ _migrations:
odoo_version:
help: On which odoo version is it based?
type: float
default: 16.0
default: 17.0
choices:
- 7.0
- 8.0
Expand All @@ -119,6 +119,7 @@ odoo_version:
- 14.0
- 15.0
- 16.0
- 17.0

odoo_proxy:
default: traefik
Expand Down
6 changes: 5 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
frozenset(map(float, os.environ.get("SELECTED_ODOO_VERSIONS", "").split()))
or ALL_ODOO_VERSIONS
)
PRERELEASE_ODOO_VERSIONS = {16.0}
PRERELEASE_ODOO_VERSIONS = {17.0}

# Postgres versions
ALL_PSQL_VERSIONS = tuple(COPIER_SETTINGS["postgres_version"]["choices"])
Expand Down Expand Up @@ -62,6 +62,10 @@
"oldest": "12",
"latest": LATEST_PSQL_VER,
},
17.0: {
"oldest": "12",
"latest": LATEST_PSQL_VER,
},
}

# Traefik versions matrix
Expand Down

0 comments on commit 2efc50b

Please sign in to comment.