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

Group support #2

Merged
merged 9 commits into from
Feb 12, 2022
Merged

Conversation

PragTob
Copy link
Collaborator

@PragTob PragTob commented Jan 30, 2022

adds the most basic support for groups, along with some fixes. I'm opening another PR on simplecov in a second to also integration test this, as that was quite tough around here.

@PragTob
Copy link
Collaborator Author

PragTob commented Jan 30, 2022

@fede-moya any tricks to triggering the CI, it seems it doesn't like me and there is some chance I broke the docker tests but I don't think so.

@f-moya
Copy link
Collaborator

f-moya commented Feb 2, 2022

Hi @PragTob I will be reviewing this one later today. About,

any tricks to triggering the CI, it seems it doesn't like me and there is some chance I broke the docker tests but I don't think so.

I guess CircleCi isn't configured to analysis contributions I will try to fix that.

},
"coverage": {
"/gem/spec/fixtures/sample.rb": {
"/stub_working_directory/spec/fixtures/sample.rb": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍🏼

@@ -14,14 +14,14 @@
end

describe 'format' do
context 'whit line coverage' do
context 'with line coverage' do
Copy link
Collaborator

Choose a reason for hiding this comment

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

thanks

Copy link
Collaborator

@f-moya f-moya left a comment

Choose a reason for hiding this comment

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

@PragTob Thanks for the house cleaning 🧹 . About your comment around integrations tests, looks like you have a point. Do you think worths adding some integration tests here right ? I could work on that to make this library more reliable. About the CI, CircleCi is now configure to analysis PRs from forked repos so if you trigger the CI with a new commit it should run. Holding approval till we are sure tests pass.

@PragTob
Copy link
Collaborator Author

PragTob commented Feb 4, 2022

@fede-moya it's still my plan to take this and move it entirely to a simplecov mono repo :) Imo it makes it much easier for everyone if simplecov(core), simplecov-html and simplecov-json (yes I'd probably rename and re release it for consistency) lived in the same repo. Like, top level goes into the three projects, just some top level shenanigans to run all tests etc. - so I don't think it needs to be handled here unless you wanna take a stab at that unification over in the simplecov repo :)

@PragTob
Copy link
Collaborator Author

PragTob commented Feb 4, 2022

for reference, added them over here: simplecov-ruby/simplecov#1015

@f-moya
Copy link
Collaborator

f-moya commented Feb 4, 2022

@PragTob

unless you wanna take a stab at that unification over in the simplecov repo :)

No, I don't. I would take that as a compliment 😃 . Go for it, ping me if you think I can assist in any way, I would be happy to help.

@PragTob
Copy link
Collaborator Author

PragTob commented Feb 10, 2022

@fede-moya any updates on the CI? I'd love to get this merged and released without completely moving the project 😁

@f-moya
Copy link
Collaborator

f-moya commented Feb 10, 2022

@PragTob yeap, as I pointed on #2 (review)

CircleCi is now configure to analysis PRs from forked repos so if you trigger the CI with a new commit it should run

I believe that's accurate. Can you try that ?

@PragTob
Copy link
Collaborator Author

PragTob commented Feb 10, 2022

@fede-moya ah, scuzi somehow I missed that 🤦 Pusching new commit now

@PragTob
Copy link
Collaborator Author

PragTob commented Feb 10, 2022

yup it's running, beautiful - thank you!

also stupid me, I have push rights I could have just pushed to the repo itself from the beginning.

@f-moya
Copy link
Collaborator

f-moya commented Feb 10, 2022

@PragTob Nice 👍🏼 . I saw it's failing due to rubocop complaining, feel free to make changes to rubocop's rules.

@PragTob
Copy link
Collaborator Author

PragTob commented Feb 12, 2022

all good just missed that rubocop was configured :)

@f-moya f-moya merged commit 5cfb07f into codeclimate-community:master Feb 12, 2022
@PragTob PragTob deleted the group-support branch February 13, 2022 20:25
@PragTob PragTob restored the group-support branch February 14, 2022 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants