File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Testing on Ubuntu
2+ on :
3+ - push
4+ - pull_request
5+ jobs :
6+ build :
7+ runs-on : ${{ matrix.os }}
8+ strategy :
9+ fail-fast : false
10+ matrix :
11+ ruby : [ '2.4', '2.5', '2.6', '2.7' ]
12+ os :
13+ - ubuntu-latest
14+ name : Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
15+ steps :
16+ - uses : actions/checkout@v2
17+ - uses : ruby/setup-ruby@v1
18+ with :
19+ ruby-version : ${{ matrix.ruby }}
20+ - name : unit testing
21+ env :
22+ CI : true
23+ run : |
24+ gem install bundler rake
25+ bundle install --jobs 4 --retry 3
26+ bundle exec rake test
Original file line number Diff line number Diff line change 1+ name : Testing on macOS
2+ on :
3+ - push
4+ - pull_request
5+ jobs :
6+ build :
7+ runs-on : ${{ matrix.os }}
8+ strategy :
9+ fail-fast : false
10+ matrix :
11+ ruby : [ '2.4', '2.5', '2.6', '2.7' ]
12+ os :
13+ - macOS-latest
14+ name : Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
15+ steps :
16+ - uses : actions/checkout@v2
17+ - uses : ruby/setup-ruby@v1
18+ with :
19+ ruby-version : ${{ matrix.ruby }}
20+ - name : unit testing
21+ env :
22+ CI : true
23+ run : |
24+ gem install bundler rake
25+ bundle install --jobs 4 --retry 3
26+ bundle exec rake test
You can’t perform that action at this time.
0 commit comments