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

Setup CI via GitHub Actions #410

Merged

Conversation

mathieujobin
Copy link
Contributor

@mathieujobin mathieujobin commented Apr 20, 2023

Replacement for #396

Just to get the ball rolling and have CI working again.
I don't use Spring, so I am skipping these two tests.

Robocop also complained, so I fixed the minimum to get a green build.

I didn't update the Appraisal file, honestly, I would remove it and instead have the Gemfile for more dynamic. I think this can be revisited by someone else in the future.

Cheers

Closes #395

@mathieujobin
Copy link
Contributor Author

@mathieujobin mathieujobin changed the title GitHub actions mathieu Setup CI via GitHub Actions Apr 20, 2023
@composerinteralia
Copy link
Collaborator

Thanks for revisiting this. I had meant to come back and do this, but I forgot.

@mathieujobin mathieujobin force-pushed the github-actions-mathieu branch from dd664ee to f72eb1c Compare April 20, 2023 03:36
.rubocop.yml Outdated
@@ -0,0 +1 @@
inherit_from: .rubocop_todo.yml
Copy link
Collaborator

@composerinteralia composerinteralia Apr 20, 2023

Choose a reason for hiding this comment

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

This project uses standard, so I don't think we should have any rubocop config. Were you running rubocop directly? That might be why you saw new warnings. Do you see the same warnings if you run bundle exec rake standard?

That might be a good thing to mention in the CONTRIBUTING.md (it's mentioned in the thoughtbot style guide that they use standard, but I don't think that's the first place somebody would look for that information).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll remove them... I just noticed I had to do the ignores via standard...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed the rubocop files and added the ignore via standard-todo

@mathieujobin
Copy link
Contributor Author

@mathieujobin mathieujobin force-pushed the github-actions-mathieu branch from 7302187 to 49f9313 Compare April 20, 2023 08:07
@mathieujobin
Copy link
Contributor Author

Copy link
Collaborator

@composerinteralia composerinteralia left a comment

Choose a reason for hiding this comment

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

Many thanks!

@composerinteralia composerinteralia merged commit 2073b55 into thoughtbot:main Apr 20, 2023
composerinteralia added a commit that referenced this pull request Apr 20, 2023
Ran `bundle update` so the dev Gemfile is using the latest versions of
everything. As long as the tests pass, this should be fine.

This commit also adds the missing Appraisal from
#410 (the PR
description mentioned that it was missing, but it didn't register for me
when I was reviewing the PR).
composerinteralia added a commit that referenced this pull request Apr 20, 2023
Ran `bundle update` so the dev Gemfile is using the latest versions of
everything. As long as the tests pass, this should be fine.

This commit also adds the missing Appraisal from
#410 (the PR
description mentioned that it was missing, but it didn't register for me
when I was reviewing the PR).
composerinteralia added a commit that referenced this pull request Apr 20, 2023
Ran `bundle update` so the dev Gemfile is using the latest versions of
everything. As long as the tests pass, this should be fine.

This commit also adds the missing Appraisal from
#410 (the PR
description mentioned that it was missing, but it didn't register for me
when I was reviewing the PR).
composerinteralia added a commit that referenced this pull request Apr 20, 2023
Ran `bundle update` so the dev Gemfile is using the latest versions of
everything. As long as the tests pass, this should be fine.

This commit also adds the missing Appraisal from
#410 (the PR
description mentioned that it was missing, but it didn't register for me
when I was reviewing the PR).
composerinteralia added a commit that referenced this pull request Apr 20, 2023
Having a test for this would have caught the incorrect standard fix from
#410 (comment)
composerinteralia added a commit that referenced this pull request Apr 20, 2023
Having a test for this would have caught the incorrect standard fix from
#410 (comment)
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.

Switch from Travis CI to GitHub Actions
2 participants