Skip to content

Commit

Permalink
move I18n Health check to code:analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
jpascual1994 committed Aug 10, 2023
1 parent a23f5ec commit 199ef4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: I18n Health
run: bundle exec i18n-tasks health
- name: Setup Database
run: |
cp .github/test_db/config/database.yml config/database.yml
bundle exec rails db:create db:migrate
- name: Run Code Analysis
run: |
bundle exec rake code_analysis
bundle exec rake code:analysis
tests:
name: Tests
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions lib/tasks/code_analysis.rake
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ namespace :code do
sh 'bundle exec rubocop .'
sh 'bundle exec reek .'
sh 'bundle exec rails_best_practices .'
sh 'bundle exec i18n-tasks health'
end
end

0 comments on commit 199ef4f

Please sign in to comment.