Skip to content

Commit

Permalink
Test against oldest supported rubocop version
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain authored and palkan committed Dec 18, 2023
1 parent ce68416 commit 7644966
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", ruby-head, jruby]
rubocop_version: [""]
include:
- ruby: "2.6"
rubocop_version: "'1.0.0'"
- ruby: "3.2"
rubocop_version: "github: 'rubocop/rubocop'"
steps:
Expand Down
2 changes: 1 addition & 1 deletion test/integration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ class Person < ApplicationRecord
That's it.
CODE

res = run_rubocop(fixture_name, options: "--autocorrect-all")
res = run_rubocop(fixture_name, options: "-A")
assert_match %r{7 offenses detected}, res
assert_match %r{7 offenses corrected}, res

Expand Down

0 comments on commit 7644966

Please sign in to comment.