Merge pull request #70 from puppetlabs/tools

Add Dependabot and Coveralls
This commit is contained in:
Gene Liverman 2020-07-07 10:18:57 -04:00 committed by GitHub
commit 2ff562cb40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 25 additions and 1 deletions

1
.coveralls.yml Normal file
View file

@ -0,0 +1 @@
service_name: travis-pro

7
.dependabot/config.yml Normal file
View file

@ -0,0 +1,7 @@
---
version: 1
update_configs:
- package_manager: 'ruby:bundler'
directory: '/'
update_schedule: 'daily'

1
.gitignore vendored
View file

@ -22,6 +22,7 @@ build/
## Environment normalisation: ## Environment normalisation:
/.bundle/ /.bundle/
/vendor/
/lib/bundler/man/ /lib/bundler/man/
# for a library or gem, you might want to ignore these files since the code is # for a library or gem, you might want to ignore these files since the code is

View file

@ -7,6 +7,7 @@ gemspec
gem 'rake', :require => false gem 'rake', :require => false
group :test do group :test do
gem 'coveralls', '~> 0.8.23'
gem 'pry' gem 'pry'
gem 'rb-readline' gem 'rb-readline'
gem 'rspec', '~> 3.5.0' gem 'rspec', '~> 3.5.0'

View file

@ -1,6 +1,9 @@
# vmfloaty # vmfloaty
[![Gem Version](https://badge.fury.io/rb/vmfloaty.svg)](https://badge.fury.io/rb/vmfloaty) [![Build Status](https://travis-ci.com/puppetlabs/vmfloaty.svg?branch=master)](https://travis-ci.com/puppetlabs/vmfloaty) [![Gem Version](https://badge.fury.io/rb/vmfloaty.svg)](https://badge.fury.io/rb/vmfloaty)
[![Build Status](https://travis-ci.com/puppetlabs/vmfloaty.svg?branch=master)](https://travis-ci.com/puppetlabs/vmfloaty)
[![Coverage Status](https://coveralls.io/repos/github/puppetlabs/vmfloaty/badge.svg?branch=master)](https://coveralls.io/github/puppetlabs/vmfloaty?branch=master)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=puppetlabs/vmfloaty)](https://dependabot.com)
A CLI helper tool for [Puppet's vmpooler](https://github.com/puppetlabs/vmpooler) to help you stay afloat. A CLI helper tool for [Puppet's vmpooler](https://github.com/puppetlabs/vmpooler) to help you stay afloat.

View file

@ -1,5 +1,16 @@
# frozen_string_literal: true # frozen_string_literal: true
require 'simplecov'
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
])
SimpleCov.start do
add_filter %r{^/spec/}
end
require 'vmfloaty' require 'vmfloaty'
require 'webmock/rspec' require 'webmock/rspec'