Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage Error in CI Pipeline with Specific Image #86

Open
ArnauCForgeFlow opened this issue Jan 16, 2025 · 0 comments
Open

Coverage Error in CI Pipeline with Specific Image #86

ArnauCForgeFlow opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ArnauCForgeFlow
Copy link

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.

@ArnauCForgeFlow ArnauCForgeFlow added the bug Something isn't working label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant