Switch to github actions

👋 travis, it was nice while it lasted! ❤️
This commit is contained in:
Henne Vogelsang 2021-03-05 17:20:31 +01:00
parent a3721cb298
commit be6464ff83
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
7 changed files with 84 additions and 81 deletions

26
lib/tasks/spec.rake Normal file
View file

@ -0,0 +1,26 @@
# frozen_string_literal: true
unless Rails.env.production?
namespace :spec do
desc 'rspec ability'
task :ability do
sh 'bundle exec rspec --format documentation spec/ability'
end
desc 'rspec models'
task :models do
sh 'bundle exec rspec --format documentation spec/models'
end
desc 'rspec controllers'
task :controllers do
sh 'bundle exec rspec --format documentation spec/controllers'
end
desc 'rspec features'
task :features do
sh 'bundle exec rspec --format documentation spec/features'
end
desc 'rspec the leftovers'
task :leftovers do
sh 'bundle exec rspec --format documentation --exclude-pattern "spec/{models,features,controllers,ability}/**/*_spec.rb"'
end
end
end