Skip to content

Commit

Permalink
Switch to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Dec 15, 2021
1 parent 1dc5811 commit 9bb66a8
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 19 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on: [push, pull_request]

jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
- '2.5'
- '2.6'
- '2.7'
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: bundle exec rake
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
- if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '2.7' }}
name: Report code coverage
continue-on-error: true
uses: paambaati/codeclimate-action@v3.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
1 change: 0 additions & 1 deletion .rspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
--require spec_helper
--color
--order random
--format documentation
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# vmware-web-service

[![Gem Version](https://badge.fury.io/rb/vmware_web_service.svg)](http://badge.fury.io/rb/vmware_web_service)
[![Build Status](https://travis-ci.org/ManageIQ/vmware_web_service.svg)](https://travis-ci.org/ManageIQ/vmware_web_service)
[![CI](https://github.com/ManageIQ/manageiq-gems-pending/actions/workflows/ci.yaml/badge.svg)](https://github.com/ManageIQ/manageiq-gems-pending/actions/workflows/ci.yaml)
[![Code Climate](https://codeclimate.com/github/ManageIQ/vmware_web_service.svg)](https://codeclimate.com/github/ManageIQ/vmware_web_service)
[![Test Coverage](https://codeclimate.com/github/ManageIQ/vmware_web_service/badges/coverage.svg)](https://codeclimate.com/github/ManageIQ/vmware_web_service/coverage)
[![Security](https://hakiri.io/github/ManageIQ/vmware_web_service/master.svg)](https://hakiri.io/github/ManageIQ/vmware_web_service/master)
Expand Down
5 changes: 2 additions & 3 deletions vmware_web_service.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ Gem::Specification.new do |spec|
spec.add_dependency "more_core_extensions", ">= 3.2", "< 5"

spec.add_development_dependency "bundler"
spec.add_development_dependency "codeclimate-test-reporter", '~> 1.0.0'
spec.add_development_dependency "manageiq-style"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", '~> 3.0'
spec.add_development_dependency "simplecov"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "simplecov", ">= 0.21.2"
end

0 comments on commit 9bb66a8

Please sign in to comment.