Skip to content

Commit

Permalink
Merge pull request #356 from voxpupuli/drop_code_cov
Browse files Browse the repository at this point in the history
Drop code coverage
  • Loading branch information
joshcooper authored Feb 13, 2024
2 parents e67e9c1 + bdda402 commit a20ac7f
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 48 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ jobs:
- ruby: "2.7"
- ruby: "3.0"
- ruby: "3.1"
coverage: "yes"
- ruby: "3.2"
env:
COVERAGE: ${{ matrix.coverage }}
BUNDLE_WITHOUT: release:rubocop
steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 0 additions & 9 deletions .simplecov

This file was deleted.

5 changes: 0 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ group :release do
gem 'github_changelog_generator', require: false
end

group :coverage, optional: ENV['COVERAGE'] != 'yes' do
gem 'codecov', require: false
gem 'simplecov-console', require: false
end

group :rubocop do
gem 'voxpupuli-rubocop', '~> 2.0'
end
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

[![License](https://img.shields.io/github/license/voxpupuli/beaker-hostgenerator.svg)](https://github.com/voxpupuli/beaker-hostgenerator/blob/master/LICENSE)
[![Test](https://github.com/voxpupuli/beaker-hostgenerator/actions/workflows/test.yml/badge.svg)](https://github.com/voxpupuli/beaker-hostgenerator/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/voxpupuli/beaker-hostgenerator/branch/master/graph/badge.svg)](https://codecov.io/gh/voxpupuli/beaker-hostgenerator)
[![Release](https://github.com/voxpupuli/beaker-hostgenerator/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/beaker-hostgenerator/actions/workflows/release.yml)
[![RubyGem Version](https://img.shields.io/gem/v/beaker-hostgenerator.svg)](https://rubygems.org/gems/beaker-hostgenerator)
[![RubyGem Downloads](https://img.shields.io/gem/dt/beaker-hostgenerator.svg)](https://rubygems.org/gems/beaker-hostgenerator)
Expand Down
7 changes: 0 additions & 7 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ namespace :test do
t.pattern = 'spec/'
t.ruby_opts = '-Itest'
end

desc 'Run spec tests with coverage'
RSpec::Core::RakeTask.new(:coverage) do |t|
ENV['BEAKER_TEMPLATE_COVERAGE'] = 'y'
t.rspec_opts = ['--color']
t.pattern = 'spec/'
end
end
end

Expand Down
24 changes: 0 additions & 24 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,29 +1,5 @@
# frozen_string_literal: true

begin
require 'simplecov'
require 'simplecov-console'
require 'codecov'
rescue LoadError
else
SimpleCov.start do
track_files 'lib/**/*.rb'

add_filter '/spec'

enable_coverage :branch

# do not track vendored files
add_filter '/vendor'
add_filter '/.vendor'
end

SimpleCov.formatters = [
SimpleCov::Formatter::Console,
SimpleCov::Formatter::Codecov,
]
end

# The Rakefile includes this, but having them in spec_helper makes it possible
# to run specific test cases via commandline when developing.
local_libdir = File.join(__FILE__, '../../lib')
Expand Down

0 comments on commit a20ac7f

Please sign in to comment.