Skip to content

Ci updates#448

Closed
evelikov wants to merge 3 commits into
kmod-project:masterfrom
evelikov:ci-updates
Closed

Ci updates#448
evelikov wants to merge 3 commits into
kmod-project:masterfrom
evelikov:ci-updates

Conversation

@evelikov

@evelikov evelikov commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Few commits inspired while looking at the code coverage action, namely:

  • we can add/bump ubuntu container/runners to 26.04 - much new, so shiny - also mbedtls v3
  • codecov action warns about missing python-coverage, even though it should (tm) be using gcov explicitly specify gcov as the only plugin - moar codecov v5 "deprecation" snafu
  • codecov v5 removed support for file, which they listed as "changed" and "deprecated" 😛

Hope this is enough to get it working reliably 🤞 since the alternative might be a bug in their server code.

Ubuntu 26.04 is the first version to include mbedtls v3. Add it to the
build and update the runners to it.

Getting us a step closer to having a) formal code coverage for that path
and b) knowing what fixes we'll need once the runner is out of
"preview".

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
@codecov

codecov Bot commented Jul 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 14 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

evelikov added 2 commits July 3, 2026 22:45
With codecov v5, their release note states (et al):

  The following arguments have been changed
    - `file` (this has been deprecated in favor of `files`)

Where they actually meant _removed_... Oopsie :-)

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
The default has changed with codecov v5, where all existing plugins are
attempted. In practise we only need gcov, which seems to work file.

Specify it, saving us the following warning:

  coverage.py is not installed or can't be found.

Initially I tried adding it to the Ubuntu image, only to notice they
lack the looked for `coverage.py` executable and instead have
`python{version.minor}-coverage.py`.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
lucasdemarchi pushed a commit that referenced this pull request Jul 6, 2026
Ubuntu 26.04 is the first version to include mbedtls v3. Add it to the
build and update the runners to it.

Getting us a step closer to having a) formal code coverage for that path
and b) knowing what fixes we'll need once the runner is out of
"preview".

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: #448
Signed-off-by: Lucas De Marchi <ldemarchi@kernel.org>
lucasdemarchi pushed a commit that referenced this pull request Jul 6, 2026
With codecov v5, their release note states (et al):

  The following arguments have been changed
    - `file` (this has been deprecated in favor of `files`)

Where they actually meant _removed_... Oopsie :-)

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: #448
Signed-off-by: Lucas De Marchi <ldemarchi@kernel.org>
lucasdemarchi pushed a commit that referenced this pull request Jul 6, 2026
The default has changed with codecov v5, where all existing plugins are
attempted. In practise we only need gcov, which seems to work file.

Specify it, saving us the following warning:

  coverage.py is not installed or can't be found.

Initially I tried adding it to the Ubuntu image, only to notice they
lack the looked for `coverage.py` executable and instead have
`python{version.minor}-coverage.py`.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: #448
Signed-off-by: Lucas De Marchi <ldemarchi@kernel.org>
@lucasdemarchi

Copy link
Copy Markdown
Contributor

Applied, thanks

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.

2 participants