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

chore(linux): Add coverage action to ibus-keyman/build.sh #9583

Merged
merged 3 commits into from
Sep 20, 2023

Conversation

ermshiperete
Copy link
Contributor

@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Sep 18, 2023

User Test Results

Test specification and instructions

User tests are not required

@@ -19,11 +19,16 @@ builder_describe \
"test" \
"install install artifacts" \
"uninstall uninstall artifacts" \
"report create coverage report" \
Copy link
Contributor

Choose a reason for hiding this comment

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

Rather than making a new action for report, could it be an option --report inside the test action?
(The coverage report depends on test being run, right?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Seems a bit weird to call ninja in response to an option, but it works.

This addresses code review comments.
Comment on lines 29 to 31
builder_describe_internal_dependency \
report:engine test:engine

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
builder_describe_internal_dependency \
report:engine test:engine

Now that --coverage is an option checked inside the test action, this can go away, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops. Thanks!

Copy link
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

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

lgtm

Addresses code review comment.
@ermshiperete ermshiperete merged commit 4e8e091 into master Sep 20, 2023
2 checks passed
@ermshiperete ermshiperete deleted the chore/linux/coverage branch September 20, 2023 06:52
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.177-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants