From a618a26b9c5e61b71c1c1d23ede6725a99f4bcb8 Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Tue, 15 Feb 2022 17:51:31 -0500 Subject: [PATCH] Switch to GitHub Actions --- .github/workflows/ci.yaml | 28 +++++++++++++--------------- README.md | 5 ++--- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 227c12d..aa18823 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: Tests +name: CI on: push: @@ -7,29 +7,27 @@ on: - cron: '0 0 * * 0' jobs: - test: + ci: runs-on: ubuntu-latest - strategy: fail-fast: false matrix: ruby-version: - - '3.1' - - '3.0' - - '2.7' - - '2.6' - - '2.5' - - '2.4' - - jruby-9.3 - - ruby-head - - jruby-head - + - '2.4' + - '2.5' + - '2.6' + - '2.7' + - '3.0' + - '3.1' + - jruby-9.3 + - ruby-head + - jruby-head steps: - uses: actions/checkout@v2 - - name: Set up Ruby ${{ matrix.ruby-version }} + - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} - bundler-cache: true # 'bundle install' and cache + bundler-cache: true - name: Run tests run: bundle exec rake diff --git a/README.md b/README.md index 7ebdb76..a2a54af 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,9 @@ http://manageiq.github.io/optimist/ [![Gem Version](https://badge.fury.io/rb/optimist.svg)](http://badge.fury.io/rb/optimist) -[![Build Status](https://travis-ci.org/ManageIQ/optimist.svg)](https://travis-ci.org/ManageIQ/optimist) -[![Code Climate](https://codeclimate.com/github/ManageIQ/optimist/badges/gpa.svg)](https://codeclimate.com/github/ManageIQ/optimist) +[![CI](https://github.com/ManageIQ/optimist/actions/workflows/ci.yaml/badge.svg)](https://github.com/ManageIQ/optimist/actions/workflows/ci.yaml) +[![Code Climate](https://codeclimate.com/github/ManageIQ/optimist.svg)](https://codeclimate.com/github/ManageIQ/optimist) [![Coverage Status](http://img.shields.io/coveralls/ManageIQ/optimist.svg)](https://coveralls.io/r/ManageIQ/optimist) -[![Dependency Status](https://gemnasium.com/ManageIQ/optimist.svg)](https://gemnasium.com/ManageIQ/optimist) ## Documentation