-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from tvdeyen/code-climate-gh-action
use code climate gh action
- Loading branch information
Showing
2 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: 8908e9226a16b7c4537ed07da25d09b086dfc7135b4f4c583603e043401288e8 | ||
with: | ||
coverageCommand: bundle exec rspec | ||
- uses: actions/upload-artifact@main | ||
if: failure() | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 = ["[email protected]"] | ||
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 = ["[email protected]"] | ||
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 |