Skip to content

[20.0][CI] Configure pgvector/pgvector:pg16 for PostgreSQL service in CI - #3792

Open
BhaveshHeliconia wants to merge 1 commit into
OCA:20.0from
HeliconiaIO:20.0-fix-ci-workflow
Open

BhaveshHeliconia wants to merge 1 commit into
OCA:20.0from
HeliconiaIO:20.0-fix-ci-workflow

Conversation

@BhaveshHeliconia

Copy link
Copy Markdown
Contributor

This PR switches the PostgreSQL CI image to pgvector/pgvector:pg16 in .copier-answers.yml and .github/workflows/test.yml.

The field_vector module requires the PostgreSQL pgvector extension, which isn't available in the default postgres:16 image. This causes the CI tests to fail when the module tries to install the extension.

Using the pgvector image fixes this issue.

Related PR: #3791

@BhaveshHeliconia

Copy link
Copy Markdown
Contributor Author

Hey @OCA/tools-maintainers would be great if someone could have a look at this.

@thomaspaulb

Copy link
Copy Markdown

@sbidoul Do you know why in this PR we have:

2026-10-16 07:36:19,081 287 WARNING ? odoo.tools.config: option addons_path, invalid addons directory '/__w/server-tools/server-tools', skipped
2026-10-16 07:36:19,081 287 WARNING ? odoo.tools.config: option addons_path, invalid addons directory '/__w/server-tools/server-tools', skipped

But in another recent 20.0 CI job we don't?

I can debug more, but maybe you have seen it before.

@sbidoul

sbidoul commented Oct 16, 2026

Copy link
Copy Markdown
Member

I think it's a regular Odoo warning when a directory in addons path does not contain any addon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants