Skip to content

Commit

Permalink
SimpleCov
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaclayton committed Jul 18, 2023
1 parent b27b5a9 commit be9e885
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ jobs:
bundler-cache: true
- name: Run the default task
run: bundle exec rake
- name: Upload coverage report
uses: actions/upload-artifact@v3
with:
name: SimpleCov Coverage
path: coverage/
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ GEM
xpath (~> 3.2)
concurrent-ruby (1.2.2)
diff-lcs (1.5.0)
docile (1.4.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
json (2.6.3)
Expand Down Expand Up @@ -95,6 +96,12 @@ GEM
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sinatra (3.0.6)
mustermann (~> 3.0)
rack (~> 2.2, >= 2.2.4)
Expand Down Expand Up @@ -130,6 +137,7 @@ DEPENDENCIES
rake (~> 13.0)
rspec (~> 3.0)
selenium-webdriver (~> 4.10)
simplecov (~> 0.22)
sinatra (~> 3.0)
standard (~> 1.3)

Expand Down
1 change: 1 addition & 0 deletions page_ez.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "selenium-webdriver", "~> 4.10"
spec.add_development_dependency "puma", "~> 6.3"
spec.add_development_dependency "launchy", "~> 2.5"
spec.add_development_dependency "simplecov", "~> 0.22"
end
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# frozen_string_literal: true

require "simplecov"
SimpleCov.start do
add_filter "spec/"
end

require "page_ez"
require "sinatra/base"
require "capybara/rspec"
Expand Down

0 comments on commit be9e885

Please sign in to comment.