Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #320 from takkii/develop
Browse files Browse the repository at this point in the history
Update.
  • Loading branch information
takkii authored Apr 14, 2024
2 parents c168ef7 + bb15772 commit 0384742
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/minitest_on_pr_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: ruby mini_test_runner.rb
run: bundle exec rake
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: ruby mini_test_runner.rb
run: bundle exec rake
- name: Coverage Report by octocov (in this pull request)
uses: k1LoW/octocov-action@v0
14 changes: 4 additions & 10 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ require 'rspec/core'
require 'rspec/core/rake_task'
require 'rdoc/task'
require 'rake/testtask'
require 'simplecov'

begin
Bundler.setup(:default, :development)
Expand All @@ -17,18 +18,11 @@ rescue Bundler::BundlerError => e
exit e.status_code
end

# rspec

RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
end
# simplecov
SimpleCov.start

task :default => :spec
# RDoc

Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
Expand Down

0 comments on commit 0384742

Please sign in to comment.