Skip to content

CI improvements#628

Open
tavip wants to merge 4 commits intolkl:masterfrom
tavip:fix-win-test-artifacts
Open

CI improvements#628
tavip wants to merge 4 commits intolkl:masterfrom
tavip:fix-win-test-artifacts

Conversation

@tavip
Copy link
Copy Markdown
Member

@tavip tavip commented Apr 25, 2026

Fix an issue where test results are not saved on Windows. Also show test results details directly on the Gtihub page.

Use a relative junit path to store test results so that it works for
both Linux and Windows checks. Before this patch test results were not
saved for Windows.

Signed-off-by: Octavian Purdila <tavip@google.com>
@tavip tavip force-pushed the fix-win-test-artifacts branch from fae26e5 to e5e63fc Compare April 25, 2026 07:39
@thehajime
Copy link
Copy Markdown
Member

thanks, I wasn't aware of the missing report files on windows.
I think we can ignore checkpatch errors.

@tavip tavip force-pushed the fix-win-test-artifacts branch from e5e63fc to f6c9a8b Compare April 27, 2026 17:50
Comment thread .github/workflows/ci.yml Outdated
permissions:
pull-requests: write
checks: write
contents: read
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be worth annotating these new permissions. It appears that detailed_summary comments require the pull-requests: write permission, while actual source changes should be remain blocked (contents: read).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added comments in the new workflow.

@tavip tavip force-pushed the fix-win-test-artifacts branch from f6c9a8b to 3b4f542 Compare April 28, 2026 07:36
Github checks uses classname to create the test hierarchy.

Signed-off-by: Octavian Purdila <tavip@google.com>
@tavip tavip force-pushed the fix-win-test-artifacts branch from 3b4f542 to 653e512 Compare May 3, 2026 09:31
tavip added 2 commits May 3, 2026 10:05
Add test reporter workflow to show tests results directly in Github as
checks. New workflow is needed to allow checks to be published for PRs
from forked repositories.

Signed-off-by: Octavian Purdila <tavip@google.com>
A dummy boot test has been added to propagate the suite name for
valgrind checks, but because it has no name it can confuse Github
checks.

Fixes: 6a5eaa0 ("lkl: refine valgrind tests and report")
Signed-off-by: Octavian Purdila <tavip@google.com>
@tavip tavip force-pushed the fix-win-test-artifacts branch from 653e512 to f257a11 Compare May 3, 2026 10:06
@tavip tavip marked this pull request as ready for review May 3, 2026 10:08
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