Skip to content

Commit

Permalink
Merge pull request #937 from galetahub/setup-semaphore
Browse files Browse the repository at this point in the history
Setup semaphore tests pipeline
  • Loading branch information
galetahub authored Jul 2, 2024
2 parents 412a75c + e853e6d commit 81d436d
Show file tree
Hide file tree
Showing 31 changed files with 356 additions and 220 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ test/dummy/public/uploads/*
.DS_Store
Gemfile.lock
dragonfly.log
public/
31 changes: 31 additions & 0 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: v1.0
name: Test CKEditor gem
agent:
machine:
type: e1-standard-2
os_image: ubuntu2004
blocks:
- name: 'Test'
task:
env_vars:
- name: RAILS_ENV
value: test
jobs:
- name: Test
commands:
- checkout
- sem-service start mongodb
- sem-version ruby 2.7.6
- cache restore
- bundle install --path vendor/bundle
- cache store
# - bundle exec rake test CKEDITOR_BACKEND=paperclip
- bundle exec rake test CKEDITOR_BACKEND=active_storage
- bundle exec rake test CKEDITOR_BACKEND=carrierwave
- bundle exec rake test CKEDITOR_BACKEND=dragonfly
- bundle exec rake test CKEDITOR_BACKEND=shrine
- bundle exec rake test CKEDITOR_ORM=mongoid CKEDITOR_BACKEND=carrierwave
- bundle exec rake test:controllers
- bundle exec rake test:generators
- bundle exec rake test:integration
- bundle exec rake test:models
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

* Upgrade CKEditor to 4.22.1 version
* Bump ruby version to 2.7.6
* Temporarily turn off paperclip gem support

## Ckeditor 5.1.1 (12-1-2021)

Expand Down
20 changes: 8 additions & 12 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,30 @@ source 'http://rubygems.org'

gemspec

gem 'rails', '~> 5.2.4.6'
gem 'rails', '~> 6.1'

platforms :ruby do
gem 'sass'
gem 'sqlite3', '~> 1.3.6'
gem 'sprockets', '~> 3.7.2'
gem 'sqlite3'
gem 'sprockets-rails'
gem 'sassc'

group :development, :test do
gem 'capybara', '>= 0.4.0'
gem 'jquery-rails', '~> 4.3.3'
gem 'mynyml-redgreen', '~> 0.7.1', require: 'redgreen'
gem 'rails-controller-testing'

gem 'capybara'
gem 'rubocop-rails'
end

group :active_record do
gem 'carrierwave'
gem 'dragonfly'
gem 'mini_magick'
gem 'paperclip', '~> 6.1.0'
# gem 'paperclip', '~> 6.1.0'
end

group :mongoid do
gem 'bson_ext'
gem 'carrierwave-mongoid', require: 'carrierwave/mongoid'
gem 'mongoid', '~> 7.0.2'
gem 'mongoid-paperclip', require: 'mongoid_paperclip'
gem 'mongoid'
# gem 'mongoid-paperclip', require: 'mongoid_paperclip'
gem 'shrine'
gem 'shrine-mongoid'
gem 'image_processing'
Expand Down
Loading

0 comments on commit 81d436d

Please sign in to comment.