This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name: Testing on Ubuntu
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
ruby: [ '2.6', '2.7', '3.0' ]
|
||||
os: [ 'ubuntu-latest' ]
|
||||
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
- name: unit testing
|
||||
run: |
|
||||
gem install bundler rake
|
||||
bundle install --jobs 4 --retry 3
|
||||
bundle exec rake
|
||||
@@ -0,0 +1,23 @@
|
||||
name: Testing on Windows
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
ruby: [ '2.6', '2.7', '3.0' ]
|
||||
os: [ 'windows-latest' ]
|
||||
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
- name: unit testing
|
||||
run: |
|
||||
gem install bundler rake
|
||||
bundle install --jobs 4 --retry 3
|
||||
bundle exec rake
|
||||
Reference in New Issue
Block a user