forked from cosmo0920/windows-api
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (34 loc) · 843 Bytes
/
unit-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Unit Test
on:
- push
- pull_request
jobs:
test:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
ruby: [ '2.5', '2.6', '2.7', '3.0', '3.1' ]
os:
- windows-latest
experimental: [false]
include:
- ruby: 'head'
os: windows-latest
experimental: true
name: Unit testing with Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install
run: |
ruby --version
gem --version
gem install bundler rake
ridk exec bundle install --jobs 4 --retry 3
- name: Unit Test
run: |
bundle exec rake test