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

Fix CI #3946

Merged
merged 3 commits into from
Sep 14, 2020
Merged

Fix CI #3946

merged 3 commits into from
Sep 14, 2020

Conversation

deivid-rodriguez
Copy link
Member

Description:

What was the end-user or developer problem that led to this PR?

The release of rubocop-ast 0.4.0 broke some bundle gem tests that make sure rubocop runs cleanly on a generated gem.

The reason is that this new release doesn't seem compatible with the rubocop version we were testing against.

What is your fix for the problem, implemented in this PR?

My fix is to upgrade our tests to use the latest version (which is compatible with rubocop-ast 0.4.0), and to also lock rubocop-ast to 0.4.0 to avoid similar failures in the future.

Tasks:

  • Describe the problem / feature
  • Write tests
  • Write code to solve the problem
  • Get code review from coworkers / friends

I will abide by the code of conduct.

For better errors.
Our scripts were currently installing the exact 0.85.1 version of
rubocop, but letting rubocop dependencies be resolved to the latest
compatible version.

Sadly, `rubocop-ast 0.4.0` was released, and started being installed
here. And that broke our CI because the new version doesn't play nice
with `rubocop-0.85.1`.

Upgrade to the latest version, which should be compatible.
To try to prevent similar failures as the one caused by `rubocop-ast
0.4.0` in the future.
@deivid-rodriguez deivid-rodriguez merged commit 4a33b04 into master Sep 14, 2020
@deivid-rodriguez deivid-rodriguez mentioned this pull request Sep 14, 2020
deivid-rodriguez added a commit that referenced this pull request Oct 5, 2020
Fix CI

(cherry picked from commit 4a33b04)
deivid-rodriguez added a commit that referenced this pull request Oct 6, 2020
Fix CI

(cherry picked from commit 4a33b04)
deivid-rodriguez added a commit that referenced this pull request Oct 6, 2020
Fix CI

(cherry picked from commit 4a33b04)
deivid-rodriguez added a commit that referenced this pull request Oct 6, 2020
Fix CI

(cherry picked from commit 4a33b04)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants