-
Notifications
You must be signed in to change notification settings - Fork 1
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
[20411] Generate jUnit reports when CMake < 3.21 #56
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EduPonz
force-pushed
the
feature/ctest2junit_translation
branch
12 times, most recently
from
February 13, 2024 10:08
6a24a1f
to
bac2f80
Compare
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
…port flag --output-junit Signed-off-by: EduPonz <eduardoponz@eprosima.com> Refs #20441: Adjust paths in ubuntu Signed-off-by: EduPonz <eduardoponz@eprosima.com>
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz
force-pushed
the
feature/ctest2junit_translation
branch
2 times, most recently
from
February 13, 2024 10:17
574486e
to
16404a7
Compare
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz
force-pushed
the
feature/ctest2junit_translation
branch
from
February 13, 2024 10:50
67915c3
to
5ee0f49
Compare
EduPonz
changed the title
[20411] Update colcon_test action to generate jUnit reports when CMake < 3.21
[20411] Generate jUnit reports when CMake < 3.21
Feb 13, 2024
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz
force-pushed
the
feature/ctest2junit_translation
branch
7 times, most recently
from
February 13, 2024 12:51
70485ed
to
7579c03
Compare
EduPonz
force-pushed
the
feature/ctest2junit_translation
branch
12 times, most recently
from
February 13, 2024 14:00
58db9ec
to
b845942
Compare
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
Signed-off-by: EduPonz <eduardoponz@eprosima.com> Refs #20411: Correctly propagate args to python Signed-off-by: EduPonz <eduardoponz@eprosima.com>
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz
force-pushed
the
feature/ctest2junit_translation
branch
from
February 13, 2024 14:21
b845942
to
5113508
Compare
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
MiguelCompany
requested changes
Feb 13, 2024
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
MiguelCompany
approved these changes
Feb 13, 2024
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
MiguelCompany
approved these changes
Feb 13, 2024
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The colcon_test action passes the
--output-junit
flag to CTest so it generates jUnit reports that can be later used in the Test-Reporter action. However, that flag was added in CMake 3.21, so when using older CMake versions, CTest simply ignores the flag but it does not create the jUnit reports.This PR adds a script to translate CTest native reports (generated with the
-D Experimental
CTest dashboard mode) to jUnit for further use. Note that the call tocolcon test
is passing the-D Experimental
flag to CTest automatically, so other actions using CTest either directly or through other tool would need to ensure that the appropriate options are passed to CTest before using the translation script.Contributor Checklist
versions.md
andREADME.md
files (if applicable).Reviewer Checklist