Migrate CI to GitHub Actions

This commit is contained in:
Gene Liverman 2021-07-16 16:42:45 -04:00
parent f2f3a3bfa9
commit 38a465e862
No known key found for this signature in database
GPG key ID: A5E7EC8322AE6F74
6 changed files with 71 additions and 16 deletions

View file

@ -1,13 +1,21 @@
# frozen_string_literal: true
require 'simplecov'
require 'coveralls'
require 'simplecov-lcov'
require 'base64'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
])
SimpleCov::Formatter::LcovFormatter.config do |c|
c.report_with_single_file = true
c.single_report_path = 'coverage/lcov.info'
end
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
[
SimpleCov::Formatter::HTMLFormatter,
SimpleCov::Formatter::LcovFormatter
]
)
SimpleCov.start do
add_filter %r{^/spec/}
end