forked from ruby/net-http
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 721 Bytes
/
test.yml
File metadata and controls
28 lines (26 loc) · 721 Bytes
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
name: ubuntu
on: [push, pull_request]
jobs:
build:
name: ${{ matrix.os }} ${{ matrix.ruby }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04, macos-10.15, windows-2019 ]
ruby: [ '3.0', 2.7, 2.6, 2.5, head ]
include:
- { os: windows-2019 , ruby: mingw }
- { os: windows-2019 , ruby: mswin }
exclude:
- { os: windows-2019 , ruby: head }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: Run test
run: bundle exec rake test