Skip to content

[IMP] ci: coverage and Codecov upload only on the scheduled run - #6

Merged
dhongu merged 1 commit into
20.0from
20.0-ci-coverage-nightly
Oct 17, 2026
Merged

dhongu merged 1 commit into
20.0from
20.0-ci-coverage-nightly

Conversation

@dhongu

@dhongu dhongu commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Coverage is measured only on the scheduled run (weekly, Sunday, cron 45 5 * * 0 UTC), which is also the only run that uploads to Codecov (once).

Pull requests and pushes run the same command as oca_run_tests (OCA/oca-ci) without coverage run --branch: the tracer slows the tests down and the report was thrown away anyway. Same rule as terrabit-solutions/bitshop@19.0 .github/workflows/test.yml.

🤖 Generated with Claude Code

Pull requests and pushes run the tests without `coverage run --branch`
(same command as oca_run_tests); the scheduled run measures coverage and
uploads it to Codecov once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dhongu
dhongu merged commit 7018c34 into 20.0 Oct 17, 2026
@dhongu
dhongu deleted the 20.0-ci-coverage-nightly branch October 17, 2026 13:31
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.

1 participant