Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaronixon committed Oct 5, 2023
1 parent a59949f commit d953b66
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
bundler-cache: true

- name: Install the latest Rails gem
run: gem install rails -v "~> 7.0.0"
run: gem install rails -v "7.1.0"

- name: Install Rubocop
run: gem install rubocop rubocop-performance rubocop-minitest rubocop-packaging rubocop-minitest rubocop-rails
Expand All @@ -31,7 +32,7 @@ jobs:

- name: Create fresh Rails app and run generator
run: |
rails new test-app --main
rails new test-app --skip-action-mailbox --skip-action-text --skip-active-storage
cp .rubocop.yml test-app/.rubocop.yml
cd test-app
bundle add authentication-zero --path ..
Expand Down Expand Up @@ -61,10 +62,11 @@ jobs:
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
bundler-cache: true

- name: Install the latest Rails gem
run: gem install rails -v "~> 7.0.0"
run: gem install rails -v "7.1.0"

- name: Install Rubocop
run: gem install rubocop rubocop-performance rubocop-minitest rubocop-packaging rubocop-minitest rubocop-rails
Expand All @@ -74,7 +76,7 @@ jobs:

- name: Create fresh Rails app and run generator
run: |
rails new test-app --main
rails new test-app --skip-action-mailbox --skip-action-text --skip-active-storage
cp .rubocop.yml test-app/.rubocop.yml
cd test-app
bundle add authentication-zero --path ..
Expand Down
8 changes: 8 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@ Style/HashSyntax:
Exclude:
- Gemfile

Layout/EmptyLinesAroundBlockBody:
Exclude:
- Gemfile

Layout/TrailingWhitespace:
Exclude:
- config/initializers/filter_parameter_logging.rb

Style/FrozenStringLiteralComment:
Enabled: false

0 comments on commit d953b66

Please sign in to comment.