mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
Migrate CI to GitHub Actions
This commit is contained in:
parent
f2f3a3bfa9
commit
38a465e862
6 changed files with 71 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue