-
Notifications
You must be signed in to change notification settings - Fork 0
Test cases and documentation #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
base: master
Are you sure you want to change the base?
Conversation
* Tests for analysed modules collection initialize. * Tests for the where method in analysed collection module
* Documenting how to integrate with jenkins. * Checking if the gitlab configuration and jenkins threshold are set.
Editing Description,Summary in rubycritic_extension.gemspec
| Alternatively if you're using GitLab you can pass `pull_request_id` as the third argument which will post a comment to the respective pull_request: | ||
|
|
||
| ```bash | ||
| $ rubycritic_extension -b base_branch,feature_branch,pull_request_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parameters should be space separated not comma separated (like unix commands)
eg.
rubycritic-ext -b base_branch feature_branch -p pull_request_id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On second thought -b and -p can be optional, since we can assume the extension does only two things -
- runs rubycritic on two branches - hence first 2 args are branch names
- optionally posts to PR - hence third arg optional pull_request_id
|
|
||
| For posting comment on a pull_request in GitLab below are the configuration. Create a file in config directory `rubycritic_app_settings.yml` with following details | ||
|
|
||
| ```ruby |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yaml
No description provided.