diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3b4807..56924cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,8 +90,12 @@ jobs: ${{ runner.os }}-yarn-dummy- - name: Prepare database run: bundle exec rake alchemy:spec:prepare - - name: Run tests - run: bundle exec rspec + - name: Run tests & publish code coverage + uses: paambaati/codeclimate-action@v3.0.0 + env: + CC_TEST_REPORTER_ID: 8908e9226a16b7c4537ed07da25d09b086dfc7135b4f4c583603e043401288e8 + with: + coverageCommand: bundle exec rspec - uses: actions/upload-artifact@main if: failure() with: diff --git a/alchemy-devise.gemspec b/alchemy-devise.gemspec index e0fbdf1..dc08b63 100644 --- a/alchemy-devise.gemspec +++ b/alchemy-devise.gemspec @@ -5,30 +5,30 @@ require "alchemy/devise/version" # Describe your gem and declare its dependencies: Gem::Specification.new do |s| - s.name = "alchemy-devise" - s.version = Alchemy::Devise::VERSION - s.authors = ["Thomas von Deyen"] - s.email = ["thomas@vondeyen.com"] - s.homepage = "http://alchemy-cms.com" - s.summary = "Devise based user authentication for AlchemyCMS." + s.name = "alchemy-devise" + s.version = Alchemy::Devise::VERSION + s.authors = ["Thomas von Deyen"] + s.email = ["thomas@vondeyen.com"] + s.homepage = "https://alchemy-cms.com" + s.summary = "Devise based user authentication for AlchemyCMS." s.description = "Devise based user authentication for AlchemyCMS." s.files = Dir["{app,config,db,lib}/**/*", "LICENSE", "CHANGELOG.md", "README.md"] s.add_dependency "alchemy_cms", [">= 5.0.0", "< 6.1"] - s.add_dependency "devise", [">= 4.7.1", "< 5"] + s.add_dependency "devise", [">= 4.7.1", "< 5"] s.add_development_dependency "capybara" s.add_development_dependency "factory_bot_rails" s.add_development_dependency "rails-controller-testing" s.add_development_dependency "rspec-activemodel-mocks", "~> 1.0" - s.add_development_dependency "rspec-rails", "~> 5.1.2" + s.add_development_dependency "rspec-rails", "~> 5.1.2" s.add_development_dependency "simplecov" - s.post_install_message =<<-MSG -In order to complete the installation or the upgrade of Alchemy::Devise run: + s.post_install_message = <<~MSG + In order to complete the installation or the upgrade of Alchemy::Devise run: - $ bin/rails g alchemy:devise:install + $ bin/rails g alchemy:devise:install -MSG + MSG end