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 a GitHub workflow to test plugin within SonarQube #54

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

utarwyn
Copy link
Member

@utarwyn utarwyn commented Oct 14, 2024

This PR brings a new way to improve the plugin reliability: a brand new integration test with SonarQube! 🥳
A new GitHub workflow has been created using Docker Compose HealthCheck: this feature tries to start a whole set of containers and checks on them in order to determine whether or not they are “healthy”.

This allows us to check whether the plugin crashes when SonarQube starts up. We could go even further and check that at least one rule has been added to the list (via the API provided by SonarQube).

@utarwyn utarwyn added the 👷‍♂️ continuous integration Improve CI/CD workflows label Oct 14, 2024
@utarwyn utarwyn self-assigned this Oct 14, 2024
Copy link

sonarcloud bot commented Oct 22, 2024

@utarwyn utarwyn marked this pull request as ready for review October 22, 2024 21:25
@utarwyn utarwyn requested review from jycr and dedece35 October 22, 2024 21:26
@utarwyn utarwyn merged commit 8809ea6 into main Nov 8, 2024
6 checks passed
@utarwyn utarwyn deleted the sonar-healthcheck branch November 8, 2024 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants