Skip to content

Commit

Permalink
Consolidate CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal committed Jan 7, 2020
1 parent 00a65d2 commit 112a890
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 75 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/linux.yaml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
name: Linux
name: Unit Tests

on: [push, pull_request]
jobs:
build:
name: >-
Linux | Ruby: ${{ matrix.ruby }}
runs-on: "ubuntu-latest"
name: "Ruby: ${{ matrix.ruby }} OS: ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ruby: ["2.4.x", "2.5.x", "2.6.x", "9.9.x"]
os: [macos-latest, windows-latest, ubuntu-latest]
ruby: ["2.4", "2.5", "2.6", "2.7"]
steps:
- name: repo checkout
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 10
- name: load ruby, update gcc
uses: MSP-Greg/actions-ruby@master
- name: Select Ruby Version
uses: eregon/use-ruby-action@master
with:
ruby-version: ${{ matrix.ruby }}
base: update
- name: update RubyGems, Bundler
- name: Update RubyGems & Bundler
run: gem update --system --no-document --conservative
- name: bundle install
- name: Install Dependencies
run: bundle install --jobs=3 --retry=3
- name: test
- name: Run Test
run: |
ruby -v
bundle exec rake
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/macos.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/windows.yml

This file was deleted.

0 comments on commit 112a890

Please sign in to comment.