Skip to content

Coverage Error in CI Pipeline with Specific Image #86

@ArnauCForgeFlow

Description

@ArnauCForgeFlow

Module

https://github.com/OCA/server-ux/tree/16.0/base_tier_validation_definition_server_action or modules that creates a server action in their tests

Describe the bug

When we run the CI from one of our repositories, we encounter an error in the coverage tests. The error is as follows:
No source for code: '/modules/ir.actions.server(156,)'.

For some reason, coverage is adding this line to the coverage file: /modules/ir.actions.server(156,).
This issue only occurs when we run the tests using this image: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest. However, when we run the coverage locally, we do not encounter this problem.

Image

To Reproduce

Affected versions: 16.0

Expected behavior
The coverage should run correctly.

Additional context
We tried to run the coverage locally and is working correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions