diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 4eea646..61ba740 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -7,11 +7,8 @@ name: Ruby -on: - push: - branches: [master, v1.1, v1.2] - pull_request: - branches: [master, v1.1, v1.2] +on: [push,pull_request] + jobs: test: runs-on: ubuntu-latest @@ -30,10 +27,4 @@ jobs: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Run tests - run: bundle exec rake - - name: SimpleCov+ Action - uses: joshmfrankel/simplecov-check-action@main - with: - minimum_suite_coverage: 99 - minimum_file_coverage: 70 - github_token: ${{ secrets.GITHUB_TOKEN }} + run: bundle exec rake \ No newline at end of file diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2389007..2ee15fd 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -11,6 +11,8 @@ SimpleCov.start do add_filter '/spec/' + SimpleCov.minimum_coverage 99 + SimpleCov.minimum_coverage_by_file 70 end RSpec.configure do |config|