-
-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
30 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Unit Tests | ||
|
||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
name: "Ruby: ${{ matrix.ruby }} OS: ${{ matrix.os }}" | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [macos-latest, windows-latest, ubuntu-latest] | ||
ruby: ["2.4.x", "2.5.x", "2.6.x", "2.7.x"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 10 | ||
- name: Select Ruby Version | ||
uses: actions/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
base: update | ||
- name: Update RubyGems & Bundler | ||
run: gem update --system --no-document --conservative | ||
- name: Install Dependencies | ||
run: bundle install --jobs=3 --retry=3 | ||
- name: Run Test | ||
run: ruby -v && bundle exec rake | ||
env: | ||
CI: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.