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

Add Github actions to run wazuh check updates plugin tests on PRs #111

Closed
lucianogorza opened this issue Oct 18, 2023 · 0 comments · Fixed by wazuh/wazuh-dashboard-plugins#6096
Assignees
Labels
level/task Task issue request/operational Operational request type/enhancement New feature or request

Comments

@lucianogorza
Copy link

lucianogorza commented Oct 18, 2023

Description

When we upload changes to a PR, in addition to running the tests of the main plugin, the tests of the Check Updates Plugin should also be executed.

image

To automatically add a comment with the code coverage of the test for each plugin, it was necessary to fork the GitHub Action repository: https://github.com/marketplace/actions/comment-test-coverage. When adding a new plugin and generating multiple comments, this GitHub Action would remove all previous comments and only the last one would remain.

The new Github Action (https://github.com/marketplace/actions/comment-test-coverage-with-delete-filter-by-title) solves that issue and ensures that the last comment for each plugin remains.

image

@lucianogorza lucianogorza added type/enhancement New feature or request level/task Task issue labels Oct 18, 2023
@wazuhci wazuhci moved this to Triage in Release 4.8.0 Oct 18, 2023
@lucianogorza lucianogorza mentioned this issue Oct 18, 2023
15 tasks
@wazuhci wazuhci moved this from Triage to In progress in Release 4.8.0 Oct 18, 2023
@lucianogorza lucianogorza linked a pull request Oct 18, 2023 that will close this issue
6 tasks
@lucianogorza lucianogorza self-assigned this Oct 19, 2023
@lucianogorza lucianogorza linked a pull request Oct 20, 2023 that will close this issue
6 tasks
@wazuhci wazuhci moved this from In progress to Pending review in Release 4.8.0 Oct 20, 2023
@wazuhci wazuhci moved this from Pending review to Blocked in Release 4.8.0 Oct 27, 2023
@asteriscos asteriscos added the request/operational Operational request label Nov 3, 2023
@wazuhci wazuhci removed this from Release 4.8.0 Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue request/operational Operational request type/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants