Skip to content

Commit

Permalink
More things
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaclayton committed Jul 18, 2023
1 parent be9e885 commit f035f45
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
bundler-cache: true
- name: Run the default task
run: bundle exec rake
- name: Coveralls
uses: coverallsapp/github-action@v2
- name: Upload coverage report
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ GEM
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov-lcov (0.8.0)
simplecov_json_formatter (0.1.4)
sinatra (3.0.6)
mustermann (~> 3.0)
Expand Down Expand Up @@ -138,6 +139,7 @@ DEPENDENCIES
rspec (~> 3.0)
selenium-webdriver (~> 4.10)
simplecov (~> 0.22)
simplecov-lcov (~> 0.8)
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 @@ -39,4 +39,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "puma", "~> 6.3"
spec.add_development_dependency "launchy", "~> 2.5"
spec.add_development_dependency "simplecov", "~> 0.22"
spec.add_development_dependency "simplecov-lcov", "~> 0.8"
end
9 changes: 9 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# frozen_string_literal: true

require "simplecov"
require "simplecov-lcov"

SimpleCov::Formatter::LcovFormatter.config do |c|
c.report_with_single_file = true
c.single_report_path = "coverage/lcov.info"
end

SimpleCov.start do
add_filter "spec/"

formatter SimpleCov::Formatter::LcovFormatter
end

require "page_ez"
Expand Down

0 comments on commit f035f45

Please sign in to comment.